D toc |
---|
Excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
This section describes the steps to configure the
|
Create OAuth 2.0 Client App in NetSuite
Steps:
- Log in to your
account using the credentials which has access to Administrator role.D s conntype type netsuite - Change your role to Administrator.
- Navigate to Setup > Integration > Manage Integrations > New.
- Enter the details as required:
- Name: Name of the OAuth 2.0 Client.
- State: Set as Enabled.
- Description: (Optional) Description of the client.
- OAuth 2.0:
- Authorization Code Grant: Set this value to true.
- Rest Web Services: Set this value to true.
Redirect URI: Enter the following callback URL:
For
:D s product product aws Code Block https://cloud.trifacta.com/oauth2/callback
- After entering the details, click Save.
- Copy the Consumer Key or Client ID and Consumer Secret or Client Secret.
Enable Features and Permissions
The following features and permissions must be enabled in
account for the OAuth flow process to work successfully. D s conntype type netsuite
SuiteCloud tab:
- Navigate to Setup > Company > Enable features > SuiteCloud tab.
- Enable the following features:
a. Select SuiteScript > Client SuiteScript & Server SuiteScript.
b. Select SuiteTalk > Rest Web Services.
c. Select Manage Authentication > OAuth 2.0.
Analytics tab:
- Navigate to Setup > Company > Enable features > Analytics tab.
- Select SuiteAnalytics Workbook > SuiteAnalytics Workbook.
Permissions
- Enable permissions for your role : Setup > Users/Roles > Manage roles > <
Name of your role
> > Edit. - Enable the following permissions:
- Select Permissions > Reports > Add SuiteAnalytics Workbook (Edit).
- Select Permissions > Setup > Add Custom Fields(View), Custom Record Types(View), Log in using OAuth 2.0 Access Tokens(Full), OAuth 2.0 Authorize Applications Management(Full) and REST Web Services(Full).
- Verify that your role which has all of the above permissions enabled is set as the
default
role.
For more information, see https://cdn.cdata.com/help/DNG/jdbc/pg_permissions.htm.
Create OAuth 2.0 Client for NetSuite
After the
connected app is created, you must create an OAuth 2.0 client in the D s conntype type netsuite
D s webapp |
---|
Info | |||||
---|---|---|---|---|---|
NOTE: You must create one OAuth 2.0 client in the
|
Steps:
- Login to the
as a workspace administrator.D s webapp - In the lefthand menu, select User menu > Admin console > OAuth2.0 Clients.
- In the OAuth2.0 Clients page, click Register OAuth2.0 Client.
Specify the new client. Apply the following values:
Setting Description Type Set to
NetSuite
.Name Display name for the OAuth 2.0 client in the
.D s webapp Client ID Set this value to the Client ID created above.
Client Secret Set this value to the Client Secret value created above.
Authorization URL Set this value to the following:
Code Block https://<ACCOUNT_ID>.app.netsuite.com/app/login/oauth2/authorize.nl
Token URL Set this value to the following:
Code Block https://<ACCOUNT_ID>.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token
Scopes Set to rest_webservices
.Access Token Expires In Set this value to
3600000
.Refresh Token Expires In Set this value to
604800000
.- To save your OAuth 2.0 client, click Create.
For more information, see Create OAuth2 Client.
Create NetSuite Connection
After you have created the two OAuth 2.0 client references, you can create a connection to your
D s conntype | ||
---|---|---|
|
Info | |
---|---|
NOTE: You must create a separate connection for each OAuth 2.0 client that is available in the
|
For more information, see NetSuite Connections.
D s also | ||
---|---|---|
|