2021.2 Token Integration Creation

2021.2 Token Integration Creation


  1. Go to Setup > Company > Enable Features.
  2. In the SuiteCloud tab, make sure the following features are enabled:
    1. Web Services
    2. Token-based Authentication
  3. Go to Setup > Integrations > Manage integrations and press New to create a new integration
  4. Add the following details and Save:
    1. Name - something representative, like "Magento Connector"
    2. State - Enabled
    3. Uncheck User Credentials under Authentication
    4. Check Token-Based Authentication under Authentication
  5. After Saving, copy the generated Consumer Key and Consumer secret values. Note that this is your only chance to view them, if you don't copy them now you'll have to create another application. Also, note the application id.
  6. Go to Setup > User Roles > Manage Roles
  7. Click Customize for the CEO role (or any role that has most permissions set). Add the following:
    1. Name - "Token access with all privileges"
    2. Under Permissions > Setup tab, add the following permissions (each with "FULL" level): 
      1. Web Services
      2.  User Access Tokens 
      3. Access Token Management
      4.  Custom Lists
      5. Custom Item Fields
    3. Under Permissions > Lists tab add the following permissions (with "FULL" level):
      1. Documents and Files
  8. In NetSuite, navigate to Lists > Employees > New
  9. Add the following information for a new employee:
    1. Email address
    2. Check Give access (under the Access tab)
    3. Add the Token access with all privileges role (under the Access tab). This is the role you defined in step 7
    4. Fill in Password and Confirm password fields (under the Access tab). It's not absolutely needed in case you don't want to login via the UI, but useful.
  10. Go to Setup > User Roles > Access Tokens and add a new Token with:
    1. Application name - the one defined at step 4
    2. User - the one defined at step 9
    3. Role - the one defined at step 7
  11. Save. At this point, you will be presented with a Token ID and a Token Secret. Copy them.
  12. Go to Setup > Integration > Web Service Preferences. From this screen, note the Account Id value
  13. Go to Setup > Company > Company Information. Select Company URLs tab and note the SUITETALK (SOAP AND REST WEB SERVICES) URL
  14. Go to Setup > Company > Company Information. Select Company URLs tab and note the Login URL.

Related content