Integrating CPQ with visualization tools

  • Release version: Australia
  • Updated March 12, 2026
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Integrating CPQ with visualization tools

    This content explains how ServiceNow CPQ integrates with third-party visualization tools—CDS, kBridge, and Threekit—to render interactive 2D and 3D product visuals that update in real time as users configure product options. This integration enhances the user experience by allowing live visual feedback on selections such as colors, dimensions, and bundles, improving configuration accuracy and engagement.

    Show full answer Show less

    Key Features

    • Live Visual Updates: Visuals update instantly as users modify configuration inputs like colors, dimensions, and product options.
    • UI and Visual State Coordination: CPQ publishes field values, set rows, and selected products to the visualization renderer to keep UI and visuals synchronized.
    • Two-Way Data Exchange: For supported vendors (CDS and kBridge), user interactions in the visualization can update CPQ fields using listener fields and JSON parsing rules.
    • Vendor Support and Capabilities:
      • CDS: Supports one-way and two-way integration with flexible object mapping, suitable for CAD and both 2D/3D visuals.
      • kBridge: Provides real-time 3D with rich event and listener models supporting two-way data flow.
      • Threekit: Offers high-fidelity, one-way 3D visuals with asset ID management but does not support viewer-to-CPQ data write-back.
    • Data Limitations: CPQ sends up to 25 rows or options for sets and product pickers; indices beyond this are not transmitted.
    • Integration Configuration: Includes layout definition for visualization placement, connection settings for authorization, and mapping blocks to specify which CPQ data is exchanged.
    • Security: Requires appropriate vendor tokens, URLs, and Content Security Policy adjustments aligned with production or non-production environments.

    Practical Guidance for ServiceNow Customers

    • Choosing a Visualization Tool:
      • Use kBridge or CDS if you require bidirectional updates between CPQ and the visualization canvas.
      • Choose Threekit for high-fidelity visuals and asset management with one-way data flow.
      • For workflows with extensive set-driven configurations, CDS or kBridge are preferable due to support for two-way JSON set handling and active set index synchronization.
    • Performance Considerations: Map only essential fields and data sets to optimize performance and respect the 25-item cap on rows and options.
    • Two-Way Data Handling: Implement and centralize JSON schema parsing for listener payloads via determination rules or enrichments to maintain data consistency.
    • Deployment Best Practices: Externalize tokens and URLs to manage environment differences safely and verify visual integrations in test environments before production rollout.
    • Troubleshooting Tips: Use admin logs, CPQ debugger inputs, browser devtools, and verify CSP and network access to diagnose integration issues systematically.

    This integration empowers ServiceNow CPQ customers to deliver dynamic, interactive product visualization experiences aligned with configuration inputs, improving customer satisfaction and configurator accuracy.

    Learn how CPQ connects to third-party visualization engines—CDS, kBridge, and Threekit—to render 2D/3D product views that respond to configuration inputs in real time.

    You can perform the following:
    • Show live visuals as users configure: colors, dimensions, options, and bundles can update the viewer instantly.
    • Coordinate UI + visual states: publish field values, set rows, and selected products to the renderer.
    • (Optional) Write back from the viewer: for supported vendors, user actions in the canvas can update fields.

    Supported vendors at a glance

    Table 1. List of vendors
    Vendor Direction What you can send What can be written back Notes
    CDS 1-way and 2-way Fields, Sets (first 25 rows), product pickers (first 25 options), Active Set Index Fields; Sets via listener field JSON + rule parsing Good for CAD/2D/3D; flexible mapping objects
    kBridge 1-way and 2-way Fields, Sets (first 25 rows), product pickers (first 25 options), Active Set Index Fields; Sets via listener field JSON + rule parsing Real-time 3D with rich event & listener model
    Threekit 1-way Fields, Asset Id (static or via field), Active Set Index (visual focus only) Not supported (viewer → CPQ) Use for high-fidelity visuals; map fields and asset selection
    Note:
    When sending sets or product pickers, CPQ publishes up to 25 rows/options. Indices and options beyond 25 are not transmitted. When using set repeaters, you can publish an Active Set Index trigger so the viewer shows the row the user is editing.

    How the integration works

    1. The layout component in the blueprint defines the visualization panel's position and size.
    2. Connection settings authorize and route traffic (for example, the script or app URL, the auth token, and the subdomain).
    3. The mapping block selects what CPQ data to send:
      • eventFields — field variable names and their viewer keys
      • eventSets — set variable names (first 25 rows published as an array of objects)
      • eventProductPickers — selected options (first 25) as an array of objects
      • setActiveTriggers — Boolean fields that indicate the active index in a set repeater
    4. (Two-way only) A listener field (CPQ text field) receives JSON from the viewer.
      • Add a determination rule (or enrichment) to parse that JSON and update fields or set rows.
      • If a listener field is present, only mappings explicitly configured for two-way will write back.

    Tabular format to showcase supported and non supported features of the visualization tools.

    Data exchanged

    • Fields: Scalar values (text, number, Boolean, picklist selection).
    • Sets: Array of row objects (first 25). Use the Active Set Index to keep the visual in sync with the row being edited in a repeater.
    • Product pickers: Array of selected option objects (first 25).
    • Assets (Threekit): Provide a static assetId or an asset-ID field in CPQ to enable dynamic asset selection.

    Security and environments

    • Auth and origin: Use vendor tokens and URLs appropriate to prod vs non-prod. Ensure your CPQ Runtime Client origins match calling domains.
    • CSP (Content Security Policy): Allow vendor script or app hosts for embedding and messaging. Coordinate with your security team and CPQ support to add domains.
    • Separation of concerns: Keep vendor credentials and tokens out of shared layouts across environments. Swap tokens when promoting.

    When to choose which tool

    • If you need bidirectional edits in the canvas, choose kBridge or CDS and implement a listener field and parsing rules.
    • If you need high-fidelity 3D with asset management and one-way updates, choose Threekit with an assetId or assetId field strategy.
    • If you have a heavy set-driven UX, prefer CDS or kBridge for two-way set JSON handling and Active Set Index synchronization.

    General guidelines

    • Map only what you need: Limit eventFields, eventSets, and eventProductPickers to essential data for performance.
    • Design for the 25-item cap: If users may exceed 25 set rows or product picker selections, add guardrails (such as validation, paging, or summarization).
    • Normalize for two-way: Define a stable JSON schema for listener payloads and centralize parsing logic in a managed rule or enrichment.
    • Promote safely: Externalize environment-specific values such as tokens and URLs. Verify visuals in test before production promotion.
    • Troubleshoot systematically:
      • Check admin logs for runtime or script errors.
      • Verify CSP and network access to vendor domains.
      • Use the viewer’s console/devtools and CPQ debugger inputs to reproduce states.