NetSuite Setup Guide
Prerequisites
Before you start, make sure you have:
- Administrator access to NetSuite
- Access to the NetSuite2.com data through an enabled SuiteAnalytics
Setup Guide
Step 1: Look up your SuiteAnalytics Connect details
- Open Set Up SuiteAnalytics Connect in your NetSuite account (it sits in the Settings module on the home page) and click Your Configuration.
- That page lists the service host, port, and account ID that the Matia connection form asks for. Copy all three.
Step 2: Turn on SuiteScript and token sign-in
-
Open Setup > Company > Enable Features from the NetSuite dashboard.
-
Switch to the SuiteCloud tab. Under SuiteScript, turn on Client SuiteScript.
-
In the terms tab that opens, click I Agree.
-
Still under SuiteScript, turn on Server SuiteScript as well.
-
In the terms tab that opens, click I Agree.
-
Scroll down to Manage Authentication and turn on Token-Based Authentication.
-
In the terms tab that opens, click I Agree.
-
Click Save.
NOTE: NetSuite's documentation covers token-based authentication in more detail.
Step 3: Register Matia as an integration
-
Go to Setup > Integration > Manage Integrations > New.
-
Name the integration, for example "Matia connector". You can leave the description blank.
-
Set State to Enabled if it is not already.
-
On the Authentication tab, make sure Token-based Authentication is the only option selected.
-
Click Save.
-
Copy the Consumer Key and Consumer Secret from the confirmation page. They go into the Matia connection form.
IMPORTANT: This page is your only chance to see these values, so save them somewhere secure right away. A lost key or secret can be replaced only by resetting it.
NOTE: NetSuite's documentation explains integration records in more detail.
Step 4: Set up a role and a user for Matia
-
Start a new role from Setup > Users/Roles > Manage Roles > New.
-
Name the role, for example "Matia Read Access".
-
Grant the role these two permissions, found on the Setup subtab of the Permissions tab:
- Log in using Access Tokens
- SuiteAnalytics Connect
-
Click Save.
-
Open the user list at Setup > Users/Roles > Manage Users.
-
Choose the NetSuite user Matia should connect as and open that user's record.
NOTE: It does not matter whether this user has two-factor authentication (2FA) enabled.
-
Click Edit.
-
The user needs two roles. Select Give Access on the Access tab if it is not already selected, then add these roles on the Roles subtab:
- the role you just created (for example, "Matia Read Access")
- the system Data Warehouse Integrator role
-
Click Save.
Step 5: Generate a token for that user
-
This step needs an administrator account or the Access Token Management permission, so sign in with one first. Then open Setup > Users/Roles > Access Tokens and click New.
-
For Application Name, choose the integration record from step 3 (for example, "Matia connector").
-
For User, pick the same user you edited in step 4.
-
Set Role to Data Warehouse Integrator.
-
Click Save. Matia authenticates with the Token ID and Token Secret that appear next, so copy both.
NOTE: NetSuite's documentation has more detail on access tokens.
Step 6: Note the internal ID of the Data Warehouse Integrator role
- Return to Setup > Users/Roles > Manage Roles.
- Copy the Internal ID shown next to Data Warehouse Integrator. This number is the Role ID you enter in Matia.
Enter the details in Matia
- Enter Service Host, Service Port, and Account ID from step 1.
- Enter Consumer key and Consumer secret from step 3.
- Enter Token ID and Token secret from step 5.
- Enter Role ID from step 6.
- Click Test Connection.
- Click Save.