Set up a ServiceNow instance connection with a Logik.ai instance
Set up the connections between the ServiceNow instance and the Logik.ai instance.
Before you begin
Role required: admin
Procedure
-
Set the application scope to CPQ Integration.
Use the scope selection menu icon
in the Unified Navigation menu to select the scope.
-
Navigate to https://<service_instance_url>/oauth_entity.do?sys_id=3b119df83b566210a0c0989e53e45a15.
-
Update the Redirect URL to https://<logik-tenant-url>/login/oauth2/code/<logik-tenant-name>-login.
- The logik-tenant-name is the name of the logik site (for example, logiksite-som). The logik-tenant-url is the full URL of the site (for example, logiksite-som.test.logik.io)
- Example: https://logiksite-som.test.logik.io/login/oauth2/code/logiksite-som-login
- Select the Activate property.
- Select Update.
-
Update the Redirect URL to https://<logik-tenant-url>/login/oauth2/code/<logik-tenant-name>-login.
-
In the filter, enter .
- Open the sn_cpq_intg.tenant_url system property.
- Set the Value to https://<logik-tenant-url>.logik.io
- Select Update.
-
Validate that the connection to the CPQ site is valid by navigating to All > CPQ Administration and open the CPQ site (listing no blueprints by default).
If this fails to open, check the previous steps for typos and trailing slashes.
-
Generate the admin API key in CPQ.
- In CPQ, login as admin user and navigate to Select Utilities > Admin API Keys.
- Specify a name and user ID (with the same name: by default, "admin").
-
Select Permissions as Admin.
This will automatically select Read, Edit, Deploy, and Bulk.
- Set an expiration date far in the future.
-
Select Save and copy the token.
Note:Be sure to do this step. After the confirmation window is closed, the token is no longer accessible.
-
Populate the connection and credential aliases.
- In ServiceNow Sales CRM, navigate to https://<service_instance_url>/now/workflow-studio/integration/connection
- Select Advanced Setup of the CPQ – Sync connection.
-
Open the CPQ–sync connection.
- Set the connection URL to https://<logik-tenant-url>.logik.io.
- Ensure that there is no ending slash.
- Make the connection active, if it is not already.
- Click Save.
- From the CPQ–sync connection, select the CPQ–sync token in the Credential column.
-
Set the API key to
Bearer {admintoken}and add the value of the token that you copied in step 5e, and then click Save.Example:Bearer _53eT_sxJHJ5rcfgXe8-8LDEK3Of1zHpQ