Setting Up Token-Based Authentication for NetSuite Connector
NetSuite Connector uses token-based authentication to connect to your NetSuite account. You can generate a token and enter it in NetSuite Connector.
NetSuite Connector doesn't support NetSuite Release Preview accounts. To test new features, the leading practice is to use a NetSuite sandbox account with your NetSuite Connector.
To set up token-based authentication:
-
Create the NetSuite access token and connect NetSuite Connector.
-
Verify the installation of NetSuite Connector integration record
-
Go to Setup > Integration > Manage Integrations.
NetSuite Connector should be listed on the Integrations page.
-
(Optional) If you don't see NetSuite Connector, it might be blocked. Here's how to enable it:
-
On the Integrations page, check the Show Inactives box.
-
Click Refresh.
-
If you still don't see the NetSuite Connector record, try uninstalling and reinstalling the SuiteApp
-
When the NetSuite Connector record displays in the Integrations page, click NetSuite Connector.
The NetSuite Connector record opens.
-
Click Edit.
-
From the State list, select Enabled.
-
Click Save.
-
-
-
-
Assign the role for token authentication.
-
Go to Setup > Users/Roles > Manage Users.
-
Select the employee you want to assign the role to.
Note:The selected employee must have the Administrator role assigned. Don't delete or inactivate the user ID to avoid breaking the connection.
-
On the Employee page, click Edit.
-
Click the Access subtab.
-
In the Role field, select NetSuite Connector Web Services and click Add.
-
Click Save.
-
-
Verify access of the assigned role to subsidiaries.
-
Go to Setup > Users/Roles > Manage Roles.
-
Click the Edit link of the NetSuite Connector Web Services role.
-
Under the Subsidiary Restrictions section, check the Allow Cross-Subsidiary Record Viewing box.
-
Click Save.
-
-
Create token authentication credentials for NetSuite Connector.
-
Go to Setup > Users/Roles > Access Tokens > New.
-
On the Access Token setup page, in the Application field, select NetSuite Connector. This references the integration record.
-
Select the user with the NetSuite Connector Web Services role
-
In the Role field, select NetSuite Connector Web Services.
The Token Name will be filled in automatically
-
Click Save.
You'll see a confirmation page with the Token ID and Token Secret. Copy the Token ID and Token Secret values and keep them for later use.
Important:It is important to save the Token ID and Token Secret because this is the only time that the Token ID and Token Secret values will be displayed. When you close the page, you will not be able to retrieve or have access to the values anymore. If you lose or forget these credentials, you'll need to create a new token.
Don't delete or inactivate the user with the token authentication role. If the user account is deleted or inactivated, the token won't work and connections will fail.
-
Adding NetSuite Account ID to NetSuite Connector
The Account ID is the first part of the URL in the browser when logged into NetSuite. You can also find the ID in the Account ID field in the Company Information page, accessible from Setup > Company > Company Information.
To add NetSuite Account ID to NetSuite Connector:
-
Log in to app.farapp.com.
-
Go to NetSuite > Settings > Credentials.
-
On the Credentials settings page, in the NetSuite Account ID field, enter the NetSuite Account ID. You can find your NetSuite account ID at the beginning of the NetSuite URL. For example, if the URL is https://1234567.app.netsuite.com/, your account ID is 1234567.
-
In the NetSuite Token ID field, enter the value of the Token ID you generated and copied.
-
In the NetSuite Token Secret field, enter the value of the Token Secret you generated and copied.
-
Click Save and Test Connection.
You'll see a confirmation message if the test is successful. If the test fails, check your values and try again.