Synchronize Salesforce Cases with ServiceNow Incidents based on Platform Events > Using the Synchronize Salesforce Cases with ServiceNow Incidents recipe > Configuring and publishing the ServiceNow connection
  

Configuring and publishing the ServiceNow connection

To configure and publish a ServiceNow connection, perform the following steps:
    1Open the ServiceNowConnectionCase connection.
    2In the Type field, select ServiceNow.
    3In the Run On field, select the Secure Agent.
    4In the Connection Properties section, enter values for the following properties:
    Property
    Description
    Client ID
    ServiceNow client ID to generate a valid access and refresh token. Enter the client ID that you generated under System OAuth > Application Registry in ServiceNow.
    Client Secret
    ServiceNow client secret that you generated under System OAuth > Application Registry in ServiceNow.
    User Name
    ServiceNow user name with the security_admin role to generate client credentials in the ServiceNow instance.
    Password
    Password associated with the ServiceNow user account.
    Service URL
    URL to access the ServiceNow instance.
    Grant type
    Grant type that the ServiceNow instance uses to get an access token for third-party clients authorization. Enter the value as password.
    5 Save and publish the connection.