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 Logik site is valid by navigating to All > CPQ Administration and open the Logik 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 Logik.
- In Logik, 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 auto 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 closing the confirmation modal, the token will no longer be 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 there is no ending slash.
- Make the connection Active (if not already).
- Select Save.
- From the CPQ – Sync Connection, select the CPQ – Sync Token in the Credential column.
-
Set the API Key to be “Bearer {admintoken}” and add the value copied in step 5e, then select Save.
For example: Bearer _53eT_sxJHJ5rcfgXe8-8LDEK3Of1zHpQ