Set up OAuth 2.0 authorization

NetSuite supports OAuth 2.0, an authorization protocol that enables client applications to use a token to access NetSuite data. To use the 8x8 Integration for NetSuite, new and existing customers must:

Enable OAuth 2.0 in NetSuite

As an admin, you must manually enable the OAuth 2.0 feature and allow NetSuite to access REST web services and RESTlets on the users’ behalf.

To enable OAuth 2.0 for all your accounts:

  1. Log into your NetSuite account.
  2. From the menu bar, go to Setup > Company > Enable Features.
  3. From the menu bar, click SuiteCloud.
  4. Agree to the terms of service for Client SuiteScript.
  5. Agree to the terms of service for Server SuiteScript.
  6. Note: You must agree to both aforementioned terms of services to use OAuth 2.0 for RESTlets.

  7. Scroll down to the Manage Authentication section and enable OAUTH 2.0.
  8. If prompted, agree to the SuiteCloud terms of service.
  9. Enable REST WEB SERVICES from the SuiteTalk (Web Services) section.
  10. Click Save.

How to disable recurring OAuth 2.0 consent policy

If the consent screen displays in NetSuite every time the OAuth 2.0 code grant flow is initiated, you can manually update the policy settings to prevent the screen from displaying.

To update the OAuth 2.0 consent policy:

  1. From the menu bar, go to Setup > User/Roles > OAuth 2.0 Authorized Applications.
  2. Click to open the auth2ProdEnv application from the APPLICATION NAME column.
  3. Click Edit.
  4. For the OAUTH 2.0 CONSENT POLICY, select the Never Ask option from the list. This setting prevents the consent policy from displaying every time the OAuth 2.0 code grant flow initiates.
  5. Click Save.

Update the CTI URL for the 8x8 integration for NetSuite

After enabling the OAuth 2.0 for NetSuite, you must update the CTI URL for the 8x8 integration for NetSuite.

To change the CTI URL:

  1. From the menu bar at the top of the NetSuite Home screen, hover over Setup.
  2. From the Setup drop-down list, select Integrations > SuiteSignOn. A new page displays listing the installed bundles.
  3. Click the 8x8 integration for NetSuite bundle you installed.
  4. On the page that opens, the CTI URL displays under Connection Points.
  5. Click Edit.
  6. Change the URL to https://cloud8.8x8.com/mapanelweb/public/launcher/netsuite-au.html
  7. Click OK.
  8. Click Save.