By adding a NetSuite connection to your workspace, you can:
Automatically import and sync sales transactions to your workspace
We support any SuiteQL query as long as we can incrementally retrieve data (details) Newly created NetSuite records will be synched to your workspace
Modified NetSuite records will be updated in your workspace
Deletion of NetSuite records will not result in any deletion in your workspace
NetSuite records no longer matching your SQL query will not result in any deletion in your workspace
You should see this screen:
Keep this browser window open, as you will copy/paste values from NetSuite.
Step 2 - In NetSuite, Enable Features
For OAuth authentication and REST Web Services to work, NetSuite requires certain features to be enabled (reference).
To enable those features:
Login to NetSuite
Go to Setup > Company > Enable Feature
Click on the 'SuiteCloud' tab
Enable SuiteScript > Client SuiteScript & Server SuiteScript
Enable SuiteTalk > Rest Web Services
Enable Manage Authentication > OAuth 2.0
Go to Setup > Company > Enable Feature
Click on the 'Analytics tab' tab
Enable SuiteAnalytics Workbook > SuiteAnalytics Workbook
Step 3 - In NetSuite, Ensure Sufficient Permissions
For OAuth authentication and REST Web Services to work, NetSuite requires your account to have sufficient permissions (reference, reference).
To grant permissions:
Login to NetSuite
Go to Setup > Users/Roles > Manage Roles
Choose a role
We recommend the accountant or sales manager roles
You can also create a new role - make sure to grant access to all relevant entities (Transactions, Users, Items, etc.)
In the 'Permissions' section
Select Permissions > Reports
Grant permission 'SuiteAnalytics Workbook (edit)'
Select Permissions > Setup
Grant permission 'Log in using OAuth 2.0 Access Tokens'
Grant permission 'User Access Token'
Grant permission 'OAuth 2.0 Authorized Applications Management'
Grant permission 'REST Web Services (full)'
Grant permissions 'Custom Fields (view)' and 'Custom Lists (view)', 'Custom Record Types (view)'
Make sure the role you edited is applied to your user account
Step 4 - In NetSuite, Create An Integration Record
For OAuth authentication and REST Web Services to work, NetSuite requires creating an integration record representing the connected application (reference).
To create an integration record:
Login to NetSuite
Go to Setup > Integration > Manage Integrations > New
Name your integration 'Sales Cookie'
Ensure the 'State' is 'Enabled'
Uncheck 'TBA: Authorization Flow'
Uncheck 'Token-Based Authentication'
Under OAuth 2.0
Check 'Authorization Code Grant'
Ensure there is no trailing space or slash
Under 'Scope', check 'REST Web Services'
Check 'Client Credentials (Machine to Machine) Grant'
This step is required if you do not want to re-authenticate every week
Further details are provided in Step 6 below
Save your integration record
Save the displayed Client ID and Secret (you will need them later)
They are displayed at the end of the page after saving
Step 5 - In Sales Cookie, Enter Credentials
You are now ready to test your connection in Sales Cookie:
Return to Sales Cookie (Settings > Connections > NetSuite)
Enter your Client ID and Secret from step 4
Enter your Account ID
Make sure to use the same casing as in your URL
Click on Save
You should see an 'Authorize Access' button
Click on the button and follow the workflow to authorize access
Important - this access method limits access to 1 week, after which manual re-authentication is required. For longer-lasting connections, please use the following additional steps.
Step 6 - In NetSuite, Enable Machine-to-Machine (M2M) Authentication
Allocating Sufficient Capacity
NetSuite has a quota for the number of REST Web Service calls integrations can make (reference). Ongoing synchronization cycles will be small because only new or modified data is queried (incremental sync). However, the initial synchronization cycle is heavier, as all your historical data must be synchronized.
To increase quotas:
Login to NetSuite
Go to Setup > Integration > Integration Management > Integration Governance
Increase concurrency limits