Authorization
When you add a NetSuite card to a flow for the first time, Okta Workflows prompts you to configure the connection. This connection links to your NetSuite account and saves your account information, so you can reuse the connection for future NetSuite flows.
You can create multiple unique connections and manage them from the Connections page in the Okta Workflows Console.
Before you begin
To create the NetSuite connector, you must be an Okta super admin or a Workflows Administrator.
Procedure
Complete the following tasks to create a connection to a NetSuite account.
Enable the web services feature
The NetSuiteWeb Services feature must be enabled before you submit any web services requests.
-
Sign in to NetSuite as an administrator.
-
Go to
. -
Select the SuiteCloud tab.
-
Enable REST WEB SERVICES under the SuiteTalk (Web Service) section.
-
Enable TOKEN-BASED AUTHENTICATION under the Manage Authentication section.
-
If required, review and agree to the SuiteCloud terms of service.
Create an app for token-based authentication (TBA)
-
Go to
. -
Enter a Name for your app.
-
Confirm that the app State is set to Enabled.
-
On the Authentication subtab:
-
Enable Token-based Authentication.
-
Disable the TBA: Authorization Flow.
-
Disable the Authorization Code Grant.
-
-
Click Save.
The confirmation page shows the Consumer Key / Client ID and the Consumer Secret / Client Secret for this app.
For security reasons, this confirmation page is the only place where NetSuite shows the Consumer Key / Client ID and the Consumer Secret / Client Secret values.
After you leave this page, you can't retrieve these values from the system. If you lose these credentials, you must reset them to new values.
Create a token for token-based authentication
-
In your NetSuite Home dashboard, click Manage Access Tokens under the Settings section.
-
On the My Access Tokens page, click New My Access Token.
-
On the Access Token page, select the app you created in the previous task.
-
The Token Name is already populated by default with a concatenation of Application Name, User, and Role. However, you can enter your own name for this token.
-
Click Save.
The confirmation page shows the Token ID and Token Secret.
For security reasons, this confirmation page is the only place where NetSuite shows the Token ID and the Token Secret values.
After you leave this page, you can't retrieve these values from the system. If you lose these credentials, you must reset them to new values.
Record your NetSuite configuration
To create the NetSuite connection, you need two pieces of account information from your NetSuite configuration.
-
Go to
. -
Copy your Account ID.
-
To get the subdomain of your SuiteTalk Web Service URL, select the Company URL subtab.
-
Under the SuiteTalk (SOAP and REST web services) field, copy the value found between https:// and .suitetalk.api.netsuite.com portions of the URL. For example, if the URL is https://MY_SUBDOMAIN.suitetalk.api.netsuite.com, your subdomain is MY_SUBDOMAIN.
Create your Okta Workflows
Finally, you can create the NetSuite connection in Okta Workflows.
- Open the Connections tab in the Workflows Console or open a NetSuite flow card.
- Click New Connection.
- Enter a connection Name. Having a unique name for the connection is useful if you plan to create multiple connections to share with your team.
- Optional. Enter a connection Description. This can be any useful information regarding your connection.
- In the Consumer Key / Client ID field, enter the Consumer Key / Client ID value from your NetSuite app.
- In the Consumer Secret / Client Secret field, enter the Consumer Secret / Client Secret value from your NetSuite app.
- In the Token ID field, enter the Token ID from your TBA token.
- In the Token Secret field, enter the Token Secret from your TBA token.
- In the Account ID field, enter the Account ID from your Company Information page.
- In the Subdomain field, enter the subdomain of your SuiteTalk (SOAP and REST web services) URL.
- Click Create.