CX QM Deployment Guide
This deployment guide provides detailed, step-by-step instructions to deploy the Quality Management (QM) as part of the Expertflow CX platform. It also includes guidance for deploying the QM-Connector, which extends quality management capabilities to conversations conducted via Cisco Contact Center.
QM Backend Deployment
The Quality Management (QM) backend is the core engine for evaluating and improving agent performance in Expertflow Contact Center. It enables evaluators to score agent-customer interactions, provide feedback, and ensure high-quality service delivery. This deployment is the first step to enable comprehensive quality assurance for your contact center operations.
First, move to the kubernetes directory in the cloned Expertflow CX branch
cd {target_release}/kubernetes
1. Create the database in Postgres
QM Backend requires a db named qm_backend in Postgres, already deployed in the ef-external namespace. Follow the steps below to create one.
execinto theef-postgresql-0pod in theef-externalnamespace
kubectl -n ef-external exec -it ef-postgresql-0 -- bash
execute the environment setup for
ef-postgresql-0( Only needed when the postgresql is running in non-HA mode , like no pgpool and multiple replicas of postgresql are running )
/opt/bitnami/scripts/postgresql/entrypoint.sh /bin/bash
Log into Postgres using the following command
psql --host ef-postgresql -U sa postgres -p 5432
The system will ask for the password for the user
sa. Enter the password, configured during deployment of Postgres. You should now be logged into the Postgres shell.Create the required database and extensions using the following commands.
If you are creating the database for MTT deployment, the name of the db must be different for each tenant. Replace the name “qm_db” in the commands below with the ID of the tenant in case of MTT only.
CREATE DATABASE qm_db;
\c qm_db;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
Then to exit from the shell
\q
exit
exit
2: Deploy QM Backend
Create and Customise cx-qm-custom-values.yaml
Finally, deploy the QM using the following command.
helm upgrade --install --namespace=expertflow --set global.efCxReleaseName="ef-cx" qm --debug --values=helm-values/cx-qm-custom-values.yaml expertflow/qm --version {target_version}
To see the QM-related options in Unified Admin, you also need to do some configuration on IAM (Keycloak) and assign related roles to the users. Follow these instructions for the configurations.
Optionally, If you want to configure QM with CISCO follow this guide. This is only required when CISCO interaction are not handled via Unified Agent