Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up a runtime client

Configure a runtime client. Doing so creates a token that you can use to authenticate runtime calls. This can be useful when ServiceNow CPQ is embedded in a VisualForce page.

Before you begin

Role required: admin

About this task

Runtime clients can be set up that provide a token for authentication of runtime calls when launching ServiceNow CPQ outside of the regular workflow. For example, ServiceNow CPQ may be started through a quote in Salesforce when embedding ServiceNow CPQ in a Visualforce page, Lightning web component, or HTML page.

Note: This authentication can be used only by end users launching a ServiceNow CPQ configuration in runtime. To authenticate admin calls, users should leverage Admin API Keys.

Procedure

  1. In the Utilities tab of the navigation pane, click Runtime clients.

  2. Click New.

Image omitted: cpq-runtime-client.png
Runtime clients user interface
  1. Name the runtime client.
Image omitted: cpq-runtime-client-add.png
Add a runtime client interface
  1. Set the user ID.

    Setting the user ID attaches the ID to all calls authenticated by this client. This can help track the origin of the calls.

  2. Set whether the permissions apply to Config or Config and Flightpath.

    Config enables launching configurations. Flightpath helps with debugging by allowing for accessing the flightpath data of the configuration.

  3. Set an expiration date for the runtime client (optional).

    The expiration date can be changed to extend or shorten the time frame during which this token can be used.

  4. Add a URL, such as https://<yourCPQUrlName>.<sector>.cpq or *.salesforce.com, and then click Add Origin.

    Users must specify the origin of calls made using this token to authenticate. Make sure that the URL has no trailing slash. For example, use *.salesforce.com and not *.salesforce.com/. You can continue adding origins by repeating this step. When all the origins have been entered, click Save (6).

  5. Click to open the new runtime client, and copy the token.

Image omitted: cpq-runtime-client-edit.png
Edit runtime client

Related topics

Use case: Embed ServiceNow CPQ UI in a Salesforce VisualForce page