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.
Antes de Iniciar
- 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.
Antes de Iniciar
Role required: admin
Procedimento
- 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.
Resultado
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.
Antes de Iniciar
- Salesforce account
- Role required: Salesforce admin
Por Que e Quando Desempenhar Esta Tarefa
Procedimento
Resultado
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.
Antes de Iniciar
- Create a connected app in Salesforce
- Role required: admin
Procedimento
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.
Antes de Iniciar
- 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.
Antes de Iniciar
- Valid Java KeyStore certificate
- Role required: admin
Procedimento
Resultado
Create a JWT signing key for the Salesforce spoke
Create a JSON Web Token (JWT) signing key to assign to your Java KeyStore certificate.
Antes de Iniciar
Procedimento
Resultado
Create a JWT provider for the Salesforce spoke
Add a JSON Web Token (JWT) provider to your ServiceNow instance.
Antes de Iniciar
Procedimento
Resultado
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.
Antes de Iniciar
Procedimento
Resultado
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.
Antes de Iniciar
Procedimento
Resultado
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.