NetSuite Token-Based Authentication Setup Guide
This guide provides detailed steps to help you generate credentials for Token-Based Authentication in NetSuite. Token-Based Authentication allows secure, programmatic access to NetSuite's data and features. Follow these steps to set it up.
Step 1: Enable Token-Based Authentication in NetSuite
- Navigate to Setup > Company > Enable Features.
- Select the SuiteCloud tab.
- Enable Token-Based Authentication.
- Click Save to apply the changes.
Step 2: Create Integration Record (Client ID & Client Secret)
- Go to Setup > Integrations > Manage Integrations > New.
- Complete the following fields:
- Name: Enter a descriptive name, e.g.,Integration for Zil Money.
- Authentication: Select Token-Based Authentication.
- Click Save and then copy the generated:
- Consumer Key (Client ID).
- Consumer Secret (Client Secret).
Step 3: Create Token Access Role
- Navigate to Setup > Users/Roles > Manage Roles > New.
- Define the following settings:
- Name: EnterToken Role or another relevant name.
- Permissions: Assign the necessary permissions based on your requirements. At a minimum, the following should be included:
- Web Services – Full.
- User Access Tokens – Full.
- Any other permissions required (e.g., Customers, Transactions).
- Under the Authentication section, select Token-Based Authentication.
- Save the role and uncheck Two-Factor Authentication Required.
Step 4: Assign Role to a User
- Navigate to Lists > Employees > Employees, then select the integration user.
- Under the Access tab, assign the newly created Token Role to the user.
- Click Save to finalize the changes.
Step 5: Generate Token ID & Token Secret
- Go to Setup > Users/Roles > Access Tokens > New.
- Complete the following fields:
- Application Name: Select the Integration record you created in Step 2.
- User: Choose the integration user.
- Role: Select the Token Role assigned in Step 4.
- Click Save and copy the generated:
Conclusion
Following these steps will enable Token-Based Authentication in NetSuite and create the necessary credentials for secure integration.