Pre-Configured APIs
Netsuite
API configuration: netsuite
, netsuite-tba
Features
Features | Status |
---|---|
Auth (OAuth) | β |
Sync data | β |
Perform workflows | β |
Proxy requests | β |
Receive webhooks | π« (time to contribute: <48h) |
We can implement missing features in <48h, just ask for it in the community.
Getting started
- How to register an Application
- OAuth-related docs
- Scopes (
restlets
,rest_webservices
and/orsuite_analytics
) - API endpoints
Need help getting started? Get help in the community.
Connection configuration in Nango
Netsuite requires a user specific account id to run OAuth.
You should request this from the user and pass it to Nango in the nango.auth()
call:
nango.auth('netsuite', '<CONNECTION-ID>', {params: {accountId: '<netsuite-account-id>'}});
For more details see the docs here.
API gotchas
- There doesnβt seem to be a way to create a Netsuite account without scheduling a call.
- The
netsuite
integration which uses OAuth 2.0 has a refresh token that has a fixed expiration of 7 days. After which point the refresh token becomes invalid and a new access token must be obtained by making users go through the authorization code flow again. To avoid this we recommend using the machine to machine flow which is called thenetsuite-tba
integration in Nango
Add Getting Started links and Gotchas by editing this page
Admin Setup for netsuite-tba
- Ensure you have admin privileges and login to your Netsuite account and navigate to Setup > Company > Enable Features
- Under the βSuiteTalkβ header make sure the SOAP WEB SERVICES and REST WEB SERVICES checkboxes are checked
- Under the βManage Authenticationβ header make sure the TOKEN-BASED AUTHENTICATION checkbox is checked
- Click the save button
- Navigate to Setup > Integration > Manage Integrations > New
- Set the desired name of this integration
- Enable TOKEN-BASED AUTHENTICATION and disable TBA: AUTHORIZATION FLOW and AUTHORIZATION CODE GRANT
- Click the save button
- The client credentials will now be displayed and be sure to copy the Consumer Key, Client ID, Consumer Secret, and Client Secret
- Navigate to the homepage by clicking the home icon
- At the button left corner click the Manage Access Tokens button
- Select the Application Name you created for this integration
- Enter a βToken Nameβ
- Save your new access token
- The token credentials will now be displayed. Copy the βToken IDβ & βToken Secretβ
- In Nango create a new integration using the
netsuite-tba
and leave the βClient Idβ and βClient Secretβ values empty. - Create a new connection and for the βOAuth Client Id Overrideβ value paste in the value you received from Netsuite called βClient IDβ and for the βOAuth Client Secretβ value paste in the value you received from Netsuite called βClient Secretβ. For βToken IDβ & βToken Secretβ paste in the values you received from Netsuite from the access token step. The account ID value can be found from your Netsuite URL instance
- If done programmatically using the Nango frontend sdk:
nango.auth('netsuite-tba', connectionId, {
params: { accountId: ACCOUNT_ID },
credentials: {
token_id: TOKEN_ID,
token_secret: TOKEN_SECRET,
oauth_client_id_override: CLIENT_ID,
oauth_client_secret_override: CLIENT_SECRET,
}
})
Was this page helpful?