Set up the Salesforce spoke
Integrate your Salesforce account with your ServiceNow instance. Create a custom OAuth application in Salesforce and authenticate requests from ServiceNow.
始める前に
- Request an Integration Hub subscription
- Activate the Salesforce spoke
- Role required: admin.
- To setup the spoke using OAuth authorization template, see Option 1: Set up the Salesforce spoke using OAuth authorization template.
- To setup the spoke using JWT signing key, see Option 2: Set up the Salesforce spoke using JWT signing key.
Configure a connection for Salesforce spoke
Add and configure a Salesforce connection to authenticate ServiceNow requests in Salesforce spoke.
始める前に
Role required: admin
手順
- Navigate to .
- Select Integrations.
- Select the Connections tab.
- Use the search box to find the Salesforce connection alias.
-
Select View Details.
-
Configure the Salesforce connection.
タスクの結果
The Salesforce spoke connection is configured and ready to be used.
Create a connected app in Salesforce
Create a connected app in your Salesforce account to enable OAuth 2.0 authentication with the Salesforce spoke.
始める前に
- Salesforce account
- Role required: Salesforce admin
このタスクについて
手順
タスクの結果
Option 1: Set up the Salesforce spoke using OAuth authorization template
Integrate your Salesforce account with your ServiceNow instance. Create a custom OAuth application in Salesforce and authenticate requests from ServiceNow using OAuth authorization template.
始める前に
- Create a connected app in Salesforce
- Role required: admin
手順
Option 2: Set up the Salesforce spoke using JWT signing key
Integrate your Salesforce account with your ServiceNow instance. Create a custom OAuth application in Salesforce and authenticate requests from ServiceNow using JWT signing key.
始める前に
- Create a connected app in Salesforce
- Role required: admin
Attach a Java Key Store certificate to the Salesforce spoke
Enable the JSON Web Token (JWT) Bearer Grant token authentication by attaching a valid Java KeyStore (JKS) certificate to the Salesforce spoke.
始める前に
- Valid Java KeyStore certificate
- Role required: admin
手順
タスクの結果
Create a JWT signing key for the Salesforce spoke
Create a JSON Web Token (JWT) signing key to assign to your Java KeyStore certificate.
始める前に
手順
タスクの結果
Create a JWT provider for the Salesforce spoke
Add a JSON Web Token (JWT) provider to your ServiceNow instance.
始める前に
手順
タスクの結果
Register Salesforce as an OAuth Provider
Use the information generated during Salesforce connected app configuration to register Salesforce as an OAuth provider and enable the instance to request OAuth 2.0 tokens.
始める前に
手順
タスクの結果
Create credential records for the Salesforce spoke
Create Credential records for the Salesforce connected app that you created. The Salesforce spoke connection and credential alias use these credentials to authorize actions.
始める前に
手順
タスクの結果
Create connection records for the Salesforce spoke
Create connection records for your Salesforce account. The Salesforce spoke connection and credential alias use these connections to perform actions in Salesforce.