Set up Oracle NetSuite Spoke
Set up your ServiceNow instance and Oracle NetSuite application so that they are integrated.
Before you begin
- Request an Integration Hub subscription.
- Activate Oracle NetSuite Spoke.
- Role required: admin
Configure OAuth 2.0 in Oracle NetSuite
Configure an OAuth 2.0 profile on Oracle NetSuite that enables integration between it and the ServiceNow instance through the OAuth 2.0 framework.
Before you begin
Role required: admin
Procedure
Upload Update Set
Upload and commit the Update Set to your ServiceNow instance to deploy a script include called OAuthCustomOracleNetsuitGlobal to the ServiceNow instance.
Before you begin
Role required: admin
About this task
The OAuthCustomOracleNetsuitGlobal script in the Update Set contains methods for Oracle OAuth connections, designed specifically for Oracle NetSuite integration. You can upload and commit the Update Set across ServiceNow instances and enable them to handle Oracle NetSuite integration.
Procedure
Configure a connection record for Oracle NetSuite
Configure a connection record between your ServiceNow instance and Oracle NetSuite. The record centrally stores credentials, OAuth tokens, client ID, and client secret, and is a reusable connection across flows.
Before you begin
Role required: admin
Procedure
Generate webhook authentication token
Generate an authentication token that enables the Oracle NetSuite requests to your ServiceNow instance to get authenticated. The requests contain events occurring in the Oracle NetSuite real-time. For example, Oracle NetSuite sends a notification when a customer record is created.
Before you begin
Role required: admin
About this task
To access the webhook, navigate to All>System Web Services> Scripted Web Services> Scripted REST APIs, in the Name field, enter Oracle NetSuite Webhook, and press Enter.
Procedure
Deploy SuiteScript in Oracle NetSuite
Deploy a SuiteScript that enables the Oracle NetSuite to send real-time event details to the scripted API in your ServiceNow instance using the webhook.
Before you begin
Role required: admin
About this task
ServiceNow provides a preconfigured sample SuiteScript that you can update and enable the Oracle NetSuite to send real-time events to the scripted API in your ServiceNow instance. You update the SuiteScript by providing the authentication token you had generated, ServiceNow Webhook URL, object, and the Oracle NetSuite account number at appropriate places in the NetSuite script. After configuring the sample NetSuite script, you must deploy it on the Oracle NetSuite application so it can send events to the scripted API in your ServiceNow instance.