Overview
The following instructions detail how to configure Token Based Authentication with the Administrator role in an account.
NetSuite's token-based authentication (TBA) is a standard OAuth implementation. Full instructions for using TBA, are available from the NetSuite Help Centre:
For sample libraries and services that support TBA/OAuth, see:
Instructions
- Login as an Administrator
- Go to Setup > Company > Enable Features
- Under SuiteCloud, check Token-Based Authentication
- Click I Agree in popup
- Click Save
- Select/create a User / Employee that the integration will function under
- Go to: Setup > Integration > Manage Integrations > New and set the following fields
- Name = ICS Payroll Integration
- Under Authentication, mark the TOKEN-BASED AUTHENTICATION checkbox
- Click Save
- Record the displayed Consumer Key and Consumer Secret in a safe place
- Log into NetSuite as the User (the one from step #3)
- On the Home screen, from the Settings portlet, select Manage Access Tokens
- Click New My Access Token
- Select the Integration you created earlier (e.g. ICS Payroll Integration), from the Application Name field
- Click Save
- Record the displayed Token ID andToken Secret in a safe place
- Input the recorded Consumer Key, Consumer Secret, Token ID and Token Secret into the application you are integrating.
Obtaining a Token programmatically
Alternatively, it's possible to obtain (issue and get) a token by calling a special endpoint with user credentials. For full details see NetSuite's Help Article: Issue Token and Revoke Token REST Services for Token-Based Authentication