In order to enable API Access, the following credentials must be gathered and steps followed:
- Gather the following credentials from NetSuite:
- Consumer Key
- Consumer Secret
- Token ID
- Token Secret
- Account ID
- Add FULL permission to the role for Sales Orders
To gather credentials from NetSuite, follow these steps:
1. Create an Integration Record
The integration record identifies the application in NetSuite’s system.
a. Visit the integrations page or global search for page:integrations
b. Create an integration record if none exists.
c. After you create the record you will need to copy/paste the consumer key and consumer secret to enter in DropStream
d. If the integration record already exists, but you don’t have the consumer key and consumer secret, edit the record, then press “Reset Credentials”.
Authentication: Token-Based Authentication
2. Enable Token Based Authentication
a. Navigate to Setup > Company > Setup Tasks > Enable Features > SuiteCloud > Manage Authentication
b. Make sure “Token Based Authentication” is enabled
If this feature is not enabled, you will not see the permissions required in the next step.
3. Create a Token Role
The administrator does not have token permissions by default. If you do not create a token role and assign it to your administrator, you will get a “Login access has been disabled for this role.” error when creating a token.
a. Global search for page:role, then choose “New Role”
b. Navigate to Permissions > Setup and add the following permissions:
User Access Token: Full
Access Token Management: Full
Web Services: Full
4. Add Token Management Permissions
a. Global search for page:employees
b. Edit your employee record
c. Navigate to Access > Roles and add the token auth role you just created
5. Create Access Tokens
a. Global search for page:tokens
b. Click New Access Token
c. Select the application and role you created earlier, then press save.
d. Copy/paste the token ID and token secret to be entered in DropStream
See here for a video of this full process
6. Account ID
a. From within the NetSuite Admin, click Setup > Integration > Web Service Preferences
b. The Account ID is displayed under the heading ACCOUNT ID
Add FULL permission to the role for Sales Order, Item Fulfillment, and Purchase Order
1. Navigate to Setup > Permissions > Transactions
2. Enter FULL level permissions for Sales Order, Item Fulfillment, and Purchase Order