NetSuite SuiteAnalytics authentication guide
This is a step-by-step guide to acquiring NetSuite SuiteAnalytics credentials and authorizing the NetSuite SuiteAnalytics component.
Create an OAuth connection
- You need to create an OAuth connection. Follow the instructions in OAuth until you reach the Authentication Type field—at which point, you should return to this page.
- Set the Authentication Type field to OAuth 2.0 Client Credentials.
- Read the section below to acquire your NetSuite SuiteAnalytics credentials.
Acquire NetSuite SuiteAnalytics credentials
You need to create an app integration in Netsuite.
-
Follow the Oracle documentation here: Create Integration Records for Applications to Use OAuth 2.0.
- Check the boxes for Client Credentials (Machine to Machine Grant) and SuiteAnalytics Connect.
-
Copy the Client ID and Client Secret at the end of this process. You won't have another opportunity to copy the secret.
- Create a user role and add the required OAuth access to that role, following the process here: Getting Started with OAuth 2.0.
- Add the following permissions to your user:
Log in Using OAuth 2.0 Access Tokens
andOAuth 2.0 Authorized Applications Management
. -
Generate and upload a certification to NetSuite, following the Oracle documentation here: Creating a Mapping for the Client Credentials Flow.
- From the example certificate generation commands given in that document, use the
RSA - PSS
command. - When you click Save in the certificate mapping dialog, note down the certificate ID as you will need this later.
- From the example certificate generation commands given in that document, use the