Skip to content

Installing DX IQ

This topic provides instructions for deploying and managing the HCL Digital Experience (DX) IQ backend server (hcl-dx-iq Helm chart) alongside your DX deployment.

HCL DX IQ is a core communication and data management layer, referred to as the integrator, that orchestrates the flow of information between the user interface (UI), large language models (LLMs), and user sessions. The DX IQ backend server:

  • Establishes and manages real-time communication channels through WebSocket connections.
  • Preserves and manages conversation state and memory for each user session.
  • Oversees and standardizes interactions with LLMs.
  • Integrates with Model Context Protocol (MCP) servers for enhanced AI capabilities.
  • Ensures robust, scalable, and seamless user experiences.

The hcl-dx-iq Helm chart deploys both the DX IQ Integrator service (<IQ_RELEASE_NAME>-integrator) and the MCP Server service (<IQ_RELEASE_NAME>-mcp-server). <IQ_RELEASE_NAME> is the DX IQ Helm release name (for example, dx-iq). These services run as a unified stack. Within this deployment, components divide operational responsibilities across the cluster:

  • The DX IQ user interface handles the customer-facing chat experience inside HCL DX.
  • The DX IQ Integrator service manages request orchestration and backend integration logic.
  • The MCP Server provides standardized communication and handles backend tool operations.

Prerequisites

Before deploying the DX IQ backend server, verify that your environment includes the following components:

  • A container-based HCL DX Core or DX Compose deployment running in Kubernetes using Helm charts.
  • An operational DX Core deployment.
  • Access to the image or package repository containing the hcl-dx-iq Helm chart, the DX IQ Integrator and DX MCP Server images, and optionally, the Persistence Node and Runtime Controller images.
  • A valid Kubernetes namespace with appropriate permissions.
  • One of the following database options for DX IQ persistence, along with the required database credentials:
    • Internal database through DX Persistence Node (automatically provisioned by Helm).
    • External database (cloud-managed or a separate Kubernetes cluster).
    • Runtime Controller (RTC)-managed database.
  • A LiteLLM proxy server configured with two proxy models:

    • iq-general-purpose: A premium model (such as Claude Sonnet 4.6 or Claude Sonnet 5.5) for handling general DX inquiries and executing tools.
    • iq-summary: A cost-efficient model (such as Claude Haiku 4.5) for conversation summarization and context window reduction.

    For step-by-step instructions on setting up LiteLLM in your DX Kubernetes cluster or as an external service, refer to Deploying LiteLLM.

Note

DX IQ ensures that user authentication credentials (cookies) remain between the DX authentication layer and the MCP Server within your Kubernetes cluster and are never transmitted to any external LLM service. Conversation history is transmitted to your configured LLM to enable proper context and functionality. You control the LiteLLM proxy server and determine where conversation data is routed (local models, managed APIs, or other endpoints).

Overview

Use these topics to navigate the deployment, configuration, validation, and maintenance workflows for the DX IQ backend services alongside your container-based HCL DX deployment.

  • Deploying LiteLLM
    This section provides step-by-step instructions for deploying LiteLLM, a prerequisite service that manages access to LLMs.
  • Deploying DX IQ services
    This section details the steps for deploying the DX IQ backend servers (DX IQ Integrator and MCP Server) alongside an existing container-based HCL DX deployment.
  • Configuring the MCP Server
    This section describes the configuration model, parameter properties, endpoint behavior, and security constraints required to manage tool execution and data exchange patterns for the MCP Server.
  • Preparing the database
    This section describes how to set up a PostgreSQL database, which is required for production deployments, to save chat histories and user sessions. It covers creating database instances, configuring Kubernetes security secrets, and selecting internal or external database options.
  • Preparing LiteLLM access
    This section describes how to configure the DX IQ Integrator to authenticate with your deployed LiteLLM proxy server using a static API key.
  • Validating the deployment
    This section provides instructions for verifying that your deployment is healthy and operational at any stage of the installation process.
  • Backing up and restoring data
    This section provides the procedures for generating database backups and restoring the database state to prevent data loss during upgrades, migrations, or node failures.
  • DX IQ environment variables
    This section lists all environment variables available for the DX IQ Integrator and DX MCP Server, including their types, defaults, and accepted values.
Related information