For NetSuite integration, Logiwa uses Token-Based authentication. In this guide, we will try to highlight how to set up the Token-Based authentication on NetSuite.
Screen Path: Setup → Integration→ Mange Integrations → New
1. Create an Integration Record
- Name: Your application name
- State: Enabled
- Authentication sublist: Token-Based Authentication
After you create the record you will need to copy/paste the consumer key and consumer secret to your secrets file.
2. Enable Token-Based Authentication
Screen Path: Setup → Company → Enable Features → SuiteCloud Sublist → Manage Authentication
- Token-Based Authentication: Enabled
Make sure “Token Based Authentication” is enabled, and Save.
3. Create a Token Role
The administrator does not have token permissions by default.
Screen Path: Setup → Setup → Users/Roles → Mange Roles → New
- Name: name your role
- Id: Id of your role
Sublist Permissions → Setup
- Log in using Access Tokens: Full
- Access Token Management: Full
- User Access Tokens: Full
- Web Services: Full
Permisssions Sublist → Transactions
Add Permissions for the things you will do using the token (you can always edit and add stuff later)
- Sales Order: Full
- Item Fulfillment: Full etc…
4. Add Token Management Permissions
Screen Path: Lists → Employees → Employees → New
Create a new employee, you can call it OAuth Token Employee
Access Sublist → Roles
- Add the Token auth role you just created
5. Create Access Tokens
Screen Path: Setup → Users/Roles → Access Tokens → New
- Application Name: Select the integration we created earlier
- User: Select the OAuth Token Employee we created earlier
- Role: Select the Token-Based Role we create for this employee
After you create the record you will need to copy/paste the token Id and token secret to your secrets file.