NetSuite Analytics connection
All users are encouraged to switch to NetSuite2.com.
More information is available in the New Accounts and Access to the Connect Data Source topic.
Prerequisite
You need an Admin user to create additional user accounts.
Creating a role
Create a role for Data Integration and grant Netsuite Analytics permissions.
- Navigate to Setup > Users/Roles > Manage Roles > New.
- Name your role Data Integration.
- Under Subsidiary Restrictions, select All.
- Choose Primary under Accounting Books.
- Scroll down and check the WEB SERVICES ONLY ROLE under Authentication.
Role permission options
Permissions must be granted to the role to use Data Integration with Netsuite:
| Permission | Level | Tab |
|---|---|---|
| SOAP Web Services | Full | Setup |
| Log in using Access Tokens | Full | Setup |
| User Access Tokens | Full | Setup |
| SuiteAnalytics Connect - Read All | Full | Setup |
| SuiteAnalytics Connect | Full | Setup |
| Access Token Management | Full | Setup |
| Custom Body Fields | View | Setup |
| Custom Fields | View | Setup |
| Custom Lists | View | Setup |
| Custom Record Types | View | Setup |
| Deleted Records | View | Setup |
| Perform Search | View | Lists |
Adding permissions
- Under the permissions tab, locate the sub-tab corresponding to the entity you want to extract (for example, lists).
- Locate the record to add permission (such as Accounts).
- Set the permission level for that record (for example, view).
- Select Add. Continue until you add all entities.
- Click Save.
At this stage, sign out and sign back in to the Netsuite account to ensure the previous steps are properly saved.
Creating a new user
Create a new user and assign the previously created role to this user.
- Navigate to Lists > Employees > Employees > New.
- Enter your Name and Email address.
- Select the Access sub-tab.
- Select the checkboxes for Give Access and Send Notification Email.
- Select the checkbox next to Manually Assign or Change Password.
- Set your own password.
- Choose the Role that you want to assign. In this case, type Data Integration and then click the Add button.
- Click Save to save the record.
Log in with the Data Integration user
Log in with your newly established Data Integration user and create a Data Integration integration application.
Obtaining the Consumer key and Consumer secret
- Navigate to Setup > Integration > Manage Integrations > New.
- Enter your integration name as Data Integration.
- Ensure the TOKEN-BASED AUTHENTICATION (TBA) is enabled.
- Click Save. You can view the Consumer Key and Secret once. Copy them to your clipboard.
Creating an Access token
- Navigate to Setup > Users/Roles > Access Tokens > New
- Select the created application (an integrated record).
- Choose the created user.
- Choose the role you've assigned to that user.
- Enter a name for the access token or use the generated one. You can view the Consumer Key and Secret once. Copy them to your clipboard.
At this stage, sign out and sign in back into the Data Integration account to ensure that the previous steps are correctly saved.
Locate your service host, account, and role ID
- Locate the Settings option on the main screen and select Set Up SuiteAnalytics Connect.
- Click Your Configuration.
- Your host is listed under SERVICE HOST ('sb2' stands for sandbox).
- Account ID and Role ID can be found directly beneath, as shown in the image below.
- Copy them to your clipboard.
Creating Netsuite Analytics connection
Procedure
-
Navigate to the Data Integration Account.
-
Click Connections and select + New Connection.
-
Choose Netsuite Analytics.
-
Choose your Connection Name.
-
Enter the Consumer Key and Secret generated by the Integration Application.
-
Enter the Token ID and Secret that were generated in the Access Token section.
-
Enter the Role and Account ID.
-
Enter the Host.
-
Click Save.
-
Click Test Connection to verify your connection is up to the task. If the connection succeeded, you can use this connection in Data Integration.