What you’ll need
- A public base URL for the API, for example
https://td3084888.suitetalk.api.netsuite.com. - The authentication details required by the API:
- OAuth2 credentials: either a refresh token, or a client ID and secret for the client-credentials grant.
- Basic auth username and password.
- A custom header value, such as an API key or bearer token.
- No authentication, if the endpoint is public.
- The request path and JSON request body for each dataset you want to expose.
HTTP endpoints must resolve to public IP addresses. Localhost, private network hosts, and internal domains are rejected. Authenticated connections should use
https:// URLs.Form fields
OAuth2
The connector supports two OAuth2 grants. Pick the one your API uses:- OAuth2 (Refresh Token) — Summation exchanges a stored refresh token for short-lived access tokens.
- OAuth2 (Client Credentials) — Summation requests access tokens directly with a client ID and secret, with no refresh token.
The Refresh Token grant adds these fields (they do not apply to the client-credentials grant):
Basic auth
Use Basic when the API expects an HTTP BasicAuthorization header.
Custom headers
Use Headers when the API authenticates with one or more request headers, such asAuthorization: Bearer ... or x-api-key: ....
No authentication
Use None only for public endpoints that do not require credentials or API keys.OAuth behavior
When you test or use the connection, Summation obtains an access token from the token URL — exchanging the refresh token (Refresh Token grant) or the client credentials (Client Credentials grant) — and then sendsAuthorization: Bearer <access_token> with API requests. Access tokens are refreshed automatically before they expire.
Token endpoints that redirect are not supported. A 400, 401, or 403 from the token endpoint usually means the OAuth credentials, refresh token, or client-auth mode are wrong.
Basic auth behavior
For Basic auth, Summation combines the username and password and sends them as an HTTP BasicAuthorization header on connection tests and dataset requests.
Custom header behavior
For custom header auth, Summation sends the configured headers on connection tests and dataset requests. Use this mode for bearer tokens, API keys, or APIs that require a non-standard auth header.Adding datasets
Each dataset maps to one request path under the base URL. The connector sends JSON requests and expects a JSON response.
For a NetSuite SuiteQL dataset, use a request path like:
https://td3084888.suitetalk.api.netsuite.com, the dataset source becomes: