Objective
Enable Oauth 2.0 in NetSuite and upgrade your 8x8 Integration to NetSuite OAuth 2.0 Email.
Applies To
- NetSuite
- OAuth
Procedure
Enable Oauth 2.0 in NetSuite
Before you can begin using OAuth 2.0 in your account, you must enable the feature.
Enable OAuth 2.0 feature:
- Log in to NetSuite.
- Go to Setup > Company > Enable Features.
- Select the SuiteCloud subtab.
- In the SuiteScript section, check the following boxes. Note: You must enable both the Client SuiteScript and Server SuiteScript features to use OAuth 2.0 feature for RESTlets.
- Client SuiteScript: Select I Agree on the SuiteCloud Terms of Service page.
- Server SuiteScript: Select I Agree on the SuiteCloud Terms of Service page.
- In the Manage Authentication section, check the OAuth 2.0 box.
- Select I Agree on the SuiteCloud Terms of Service page.
- Select Save.
Enable Rest Web Services feature:
- Go to Setup > Company > Enable Features.
- Select the SuiteCloud subtab.
- In the SuiteTalk (Web Services) section, check the Rest Web Services box.
- Select Save.
Oauth Setup
Check if the user's role has the necessary permissions. This can be done by the NetSuite Administrator.
- From the top menu, navigate to Setup > User/Roles > Manage Roles.
- Select the role (e.g., Support Person or Support Rep) that is assigned to the Agent and check if the following permission is assigned to at least one role.
- Select Edit or Customize in the Edit column for the selected Agent's role.
- Go to Permissions > Setup.
- If following permissions are not present, add them and select Save.
- REST Web Services
- Log in using OAuth 2.0 Access Tokens
- Have the agent re-login for the role permission change to take effect.
Find the Agent's role:
- As an Administrator, from the top menu, navigate to Setup > User/Roles > Manage Roles.
- This page will list all roles of the user. Check the Role column of the user.
Turn off recurring consent policy:
At the time of panel reload a consent policy screen may appear. Existing netsuite-au customers may receive consent messages such as "8x8 Netsuite Integration wants to access <Account Name">.
- To turn off this recurring messaging, go to Setup > Users/Roles > OAuth 2.0 Authorised Application.
- Select the 8x8 Netsuite Integration.
- Edit the setting for 8x8 Netsuite Integration configuration.
- Select the value for OAUTH 2.0 CONSENT POLICY as Never Ask.
- Select Save.