Create a NetSuite authentication token
Last updated
Last updated
Navigate to your NetSuite instance and click Setup
Under Integration in the side panel, click Manage Integrations → New:
Enable “Token-Based Authentication”. You can uncheck the other options:
After clicking save, you will see a Consumer Key and Consumer Secret at the bottom of the next page. Copy these and keep them somewhere secure.
If you don’t already have a role that you will want to grant Violet access to, navigate to Setup → Users/Roles → Manage Roles → New
Name your new role and select Web Services Only Role.
Select and assign the permissions that Violet requires. These are:
Transactions: Find Transaction, Purchase Order
These are required to import purchase order data
Reports: SuiteAnalytics Workbook, Edit level
This is required so that Violet can run SuiteQL queries to fetch data
Lists: Employee Record, Employees, Items Full level, Vendors
These are required so that Violet can import user data, parts (Items), and vendor data. It also allows Violet to Push part data to create and update Items in NetSuite.
Setup: Log in using Access Tokens, REST Web Services, SOAP Web Services, all in Full level.
These are required to allow Violet to access the REST and SOAP apis which are used to fetch and push data to NetSuite
Grant your user access to the new role:
Navigate to Setup → Users/Roles → Manage Users
Edit your user and scroll down to the Roles section at the bottom. Add the new Role to your user
Navigate to Setup → Users/Roles → Access Tokens → New
Select your new App, select your user, and select your role. This user and role will be what the token grants access to.
After clicking Save, copy the Token Id and Token Secret and save them somewhere secure.