
NetSuite API Integration Profile
Information and guides about integrating with NetSuite API
Add NetSuite Integration to Your AppConfiguration
Create OAuth 2.0 Client App in NetSuite
To be able to use REST web services with OAuth 2.0, the Netsuite user must create an application using an integration record. This guide covers steps a user should take to get their Netsuite credentials to be able to use them in the integration.app console.
- Log in to your NetSuite account using the credentials that have access to Administrator role.
- Change your role to Administrator.
- Navigate to Setup > Integration > Manage Integrations > New.
- Fill in the requried details:
- Name: Name of the OAuth 2.0 Client
- State:
Enabled
- OAuth 2.0:
- Authorization Code Grant: set to
true
- Rest Web Services: Enable this scope by setting its value to
true
- Redirect URI:
https://api.integration.app/oauth-callback
- Authorization Code Grant: set to
- After entering the details, click Save.
- Copy the Consumer Key (Client ID) with the Consumer Secret (Client Secret) and save them somewhere safe.
Enable Features and Permissions
The following features and permissions must be enabled in NetSuite account for the OAuth process to work successfully.
SuiteCloud tab:
- Navigate to Setup > Company > Enable features > SuiteCloud tab
- Enable the following features:
a. Select SuiteScript > Client SuiteScript & Server SuiteScript
b. Select SuiteTalk > Rest Web Services
c. Select Manage Authentication > OAuth 2.0
Analytics tab:
- Navigate to Setup > Company > Enable features > Analytics tab
- Select SuiteAnalytics Workbook > SuiteAnalytics Workbook
Permissions
Enable permissions for your role:
- Setup > Users/Roles > Manage roles > <Name of your role> > Edit
- Enable the following permissions:
- Select Permissions > Reports >Add SuiteAnalytics Workbook (Edit)
- Select Permissions > Setup > Add Custom Fields(View), Custom Record Types(View), Log in using OAuth 2.0 Access Tokens(Full), OAuth 2.0 Authorize Applications Management(Full) and REST Web Services(Full)
- Verify that your role which has all of the above permissions enabled is set as the default role.