> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent AI Voice Integration with CX Cloud From Genesys and Salesforce

[CX Cloud from Genesys and Salesforce](https://appexchange.salesforce.com/appxListingDetail?listingId=7f59a36f-86c0-4cac-b8af-2c1722ede4d1\&channel=recommended) is a unified AI-powered customer experience and relationship management solution that integrates Genesys Cloud CX and Salesforce Service Cloud. It allows you to connect Genesys Cloud as a contact center in Service Cloud.

Agent AI leverages Platform capabilities along with generative AI and LLMs to enhance agent productivity and elevate customer satisfaction. It uses features like real-time coaching, and seamless integration with popular CCaaS software and offers automated task streamlining, smart replies, sentiment tracking, automated guidance, summarized conversations, and deep integration with enterprise systems. To ensure consistency and accuracy, it has features like the Playbooks and Kore.ai's advanced information retrieval system.

This document guides Salesforce administrators through the setup and configuration of the Agent AI solution, allowing agents to access the Genesys Cloud features.

## Prerequisites

Before integrating Agent AI with Salesforce Genesys CTI, the following prerequisites must be met:

* In Salesforce
  * Must enable Service Cloud Voice license for the Salesforce organization.
  * Install [CX Cloud from Genesys and Salesforce](https://appexchange.salesforce.com/appxListingDetail?listingId=7f59a36f-86c0-4cac-b8af-2c1722ede4d1) package.
  * Install [Kore Agent AI Salesforce](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N4V00000HSGlnUAH) package.
* In Genesys
  * Install [Genesys AudioHook](https://appfoundry.genesys.com/filter/genesyscloud/listing/a3ff6a99-d866-4734-ab7a-16cff2e4308c) from AppFoundry.
* Browser Compatibility Check
  * Supports Chrome

## Set up Genesys Adapter in Salesforce Org

Follow this [Genesys documentation](https://help.mypurecloud.com/articles/about-cx-cloud-from-genesys-and-salesforce/) to set up Genesys as a contact center inside a Salesforce org.

Once you successfully complete the configuration steps in the above link, you can accept calls to a Genesys number within Salesforce using the Omnichannel utility tool. Then, proceed with the next steps.

<Note>Omnichannel presence status will be synchronized with Genesys agent's presence status (for example, **Available for Voice** in Omnichannel is similar to **On Queue** in Genesys Cloud).</Note>

### Additional Steps

These are the mandatory manual steps for Kore Agent AI integration with Salesforce Service Cloud Voice with Genesys as partner telephony. You must create a **custom field** inside the Salesforce **Voice Call** object for synchronizing Genesys call attributes. Here, you create a custom field that populates with the Genesys Interaction ID when an agent accepts a call via Omnichannel.

The two major steps involved here are:

#### Step 1: Create a custom field inside Voice Call object

1. Sign in to **Salesforce**.

2. Click the **Gear** icon > **Setup**.

3. Search with **Object Manager**, and click it.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/object-manager-1.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=947d542a376895860cfb45870da71cf2" alt="object-manager" width="1830" height="358" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/object-manager-1.png" />

4. Click to open the **Voice Call** object.

5. Click **Fields & Relationships**.

6. Click **New** to create a new field.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-fields-and-relationships-2.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=3d38b479f0c86b2180b96b33f48f8b24" alt="new-fields-and-relationships" width="1831" height="449" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-fields-and-relationships-2.png" />

7. Select the **Data Type** as **Text**, and then click **Next**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-custom-field-3.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=19ae61471ba5969841af205a5d124375" alt="new-custom-field" width="1809" height="857" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-custom-field-3.png" />

8. Enter the **Field Label** value as **KAA\_interaction\_id** and **Length** as **255**.

<Note>The custom field name inside the Voice Call object must be **KAA\_interaction\_id** (don't rename it).</Note>

<img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/custom-field-details-4.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=36cf3a4d63a43782de1370e2e0b9fdc5" alt="custom-field-details" width="1592" height="531" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/custom-field-details-4.png" />

9. Click **Next**, and then click **Save**.

#### Step 2: Synchronize call attribute with Salesforce Voice Call Record

1. Click the **App Launcher** icon, and type **CX Cloud Genesys Settings** in the search box.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/cx-cloud-genesys-settings-page-5.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=4bf3544c37a9b294c3411c37ce41d2fb" alt="cx-cloud-genesys-settings-page" width="1848" height="537" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/cx-cloud-genesys-settings-page-5.png" />

2. Click the **Configure** button of **Voice for Salesforce Service Cloud** in the **CHANNELS** section.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/cx-cloud-from-genesys-and-salesforce-6.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=f2068498170fbe67880cc43a83665c51" alt="cx-cloud-from-genesys-and-salesforce" width="1814" height="782" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/cx-cloud-from-genesys-and-salesforce-6.png" />

3. Click **Configure Contact Centers**.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/configure-contact-centers-7.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=f031acd8564850d156a4fee704869979" alt="configure-contact-centers" width="1827" height="321" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/configure-contact-centers-7.png" />

4. Scroll down to **Genesys Cloud Conversation Field Mapping**.

5. Click the **+** button to add the mapping.

6. Enter `Conversation.ConversationId` in the **Conversation Attributes** field, and select [KAA\_interaction\_id](#step-1-create-a-custom-field-inside-voice-call-object) from the **Salesforce Fields** dropdown list. (Follow [configure Genesys setting](https://help.mypurecloud.com/articles/configure-genesys-admin-settings/).)
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-conversation-field-mapping-8.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=675cf3c29daf5f3f87439697f65b1371" alt="genesys-cloud-conversation-field-mapping" width="1285" height="151" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-conversation-field-mapping-8.png" />

7. Click **Save**.

### Custom Data

In this integration, any custom field present in the Voice Call object will be part of the Kore Agent AI custom data. For populating a few dynamic fields from Genesys to Salesforce, follow this document: [Synchronize call attributes with Salesforce VoiceCall records for CX Cloud from Genesys and Salesforce](https://help.mypurecloud.com/articles/synchronize-call-attributes-with-salesforce-activity-records-for-cx-cloud-from-genesys-and-salesforce/)

## Install Agent AI Package

The installation process of the Kore Agent AI package is a simple, 3-step process. Follow these steps to install the package:

1. Visit [Salesforce AppExchange](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N4V00000HSGlnUAH).
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/salesforce-app-exchange-9.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=fc739b4b4b3af38ff4264977088c47c8" alt="salesforce-app-exchange" width="1845" height="940" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/salesforce-app-exchange-9.png" />

2. Select one of the three available options - **Install for Admins Only**, **Install for All Users**, or **Install for Specific Profiles**.

3. Click **Install**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/install-koreai-agentassist-10.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=d138285b1d66da809e0b4f5719d9f586" alt="install-koreai-agentassist" width="924" height="500" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/install-koreai-agentassist-10.png" />

## Configure Agent AI for Salesforce

This section explains the post-installation steps of Agent AI integration with Salesforce.

### Enable Agent AI Access to Administrators and Agents

1. Click the **Gear** icon > **Setup**.

2. Enter "Permission Sets" in the search box.

3. Click **Permission Sets** in the suggestions list, and then select the alphabet **C**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/permission-sets-11.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=030df59ee2b3c890a95f1bc4d5375b04" alt="permission-sets" width="1326" height="548" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/permission-sets-11.png" />

4. Assign the Permission Set:
   1. For admins, assign both **CTI\_Kore Agent Assist Admin Permission Set** and **CTI\_Kore Agent Assist Permission Set**.
   2. For agents, assign **CTI\_Kore Agent Assist Permission Set**.

<Note>The admin role has higher permissions, including write and delete, on KoreAgentAssist Configuration Object and KoreAgentAssist Feature Configuration Object, and view access for AgentAssistApexLCController Apex. Call Summary is unavailable on the CTI\_Kore Agent Assist Admin Permission Set.</Note>

3. **CTI\_Kore Agent Assist Admin Permission Set**: Provide full access to Kore AgentAssist objects.

4. **CTI\_Kore Agent Assist Permission Set**: Provide read/write access to Kore AgentAssist objects.

5. Call Summary is unavailable on the CTI\_Kore Agent Assist Admin Permission Set.

6. Click the required permission set, and then click **Manage Assignments**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/manage-assignments-12.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=a28730f9ef0d5a13a3ce42404a49b7d5" alt="manage-assignments" width="1614" height="769" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/manage-assignments-12.png" />

7. Select the agent/users or profiles needing access to this package.

8. Click **Next** > **Assign**, and then click **Done**.

   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-assist-permission-set-next-13.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=ab7558b03370e396483c1128089518a0" alt="agent-assist-permission-set-next" width="1221" height="587" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-assist-permission-set-next-13.png" />

   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-assist-permission-set-assign-14.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=3cedbd0f84c1a4c5dc4b7fbb0d8ca743" alt="agent-assist-permission-set-assign" width="1499" height="702" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-assist-permission-set-assign-14.png" />

### Enable Kore Agent AI Package Features

1. Click the **App Launcher** icon, and search with **Kore** in the search field.

2. Click **Kore Agent AI Feature Configuration** from the suggestions list.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-agent-assist-feature-configuration-15.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=9ac489829a3ecf9b3c2b7aa28145cf3f" alt="kore-agent-assist-feature-configuration" width="1846" height="645" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-agent-assist-feature-configuration-15.png" />

3. Click the **New** button on the top-right, and select the features in the package you want to use.

   * **Configuration Name**: Provide a name for the configuration you are creating.
   * **CTI Provider**: Skip this field.
   * **Salesforce OmniChannel Solution**: "Chat and Voice" or "Voice" (based on your license).
   * **Active**: Only one feature configuration will be active, and the active configuration will be considered at runtime.

4. Click **Save**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/save-kore-agent-assist-feature-configuration-16.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=9ec5bff687157a91a5e7cb055b6cf969" alt="save-kore-agent-assist-feature-configuration" width="1826" height="658" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/save-kore-agent-assist-feature-configuration-16.png" />

5. Click the **Edit** button, if you want to edit the existing feature configurations.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/edit-genesys-new-adapter-17.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=109fa38980c9911c2564b2cb32004117" alt="edit-genesys-new-adapter" width="1822" height="486" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/edit-genesys-new-adapter-17.png" />

### Set up Widget Configuration

1. Click the **App Launcher** icon on the top-left, and type **Kore Agent AI Configuration** in the search bar.

2. Click **Kore Agent AI Configuration** from the suggestions list.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/open-agent-assist-configuration-18.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=1909f4534bd26a4b7e14c00c80973616" alt="open-agent-assist-configuration" width="1592" height="670" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/open-agent-assist-configuration-18.png" />

3. Click the **New** button for providing configurations.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-agent-assist-configuration-19.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=382830a3232cf0f557185a94ca7df29b" alt="new-agent-assist-configuration" width="1821" height="400" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-agent-assist-configuration-19.png" />

4. Select the language you want to enable for the Agent AI widget. By default, the language is English.

5. Provide all the details in the text boxes, and click **Save**.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-assist-configuration-details-20.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=6ea7e23f2b645ffb53c7c60dd52271bb" alt="agent-assist-configuration-details" width="1819" height="788" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-assist-configuration-details-20.png" />

<Note>In the Agent AI URL field, use the URL from **Agent AI** > **Flows & Channels** > **Channels** > **Digital** > **Web/Mobile Client** of your Agent AI instance.</Note>

<img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/web-mobile-client-21.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=f207619493ea1573994d32a0ff549951" alt="web-mobile-client" width="683" height="854" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/web-mobile-client-21.png" />

<Note>Only one configuration is active, which is used at runtime.</Note>

### Create Agent Presence Status

1. Click the **Gear** icon > **Setup**.

2. Type **Presence Statuses** in the **quick search** box, and then click **Presence Statuses** from the suggestions list.

3. Click the **New** button.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-presence-status-22.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=fd3e719de4e54acd6407c43e2c2be1e6" alt="new-presence-status" width="1353" height="569" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/new-presence-status-22.png" />

4. Enter the **Status Name**, and select **Status Options**.

5. Select the **Service Channels**, and click **Save**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/save-presence-status-23.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=a8f715abb5a9831fe68276197606b98d" alt="save-presence-status" width="1365" height="651" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/save-presence-status-23.png" />

### Place the Widget in the Voice Calls Record page

1. Click the **App Launcher** icon, and search with **Voice Calls** in the search field.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/voice-calls-app-launcher-24.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=f76555f092fde2a3db56e623c5f3648e" alt="voice-calls-app-launcher" width="1848" height="960" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/voice-calls-app-launcher-24.png" />

2. Open any voice call record page, and click the **gear** icon.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/voice-calls-record-25.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=1117a6f0088a40943f4e6ba427487b52" alt="voice-calls-record" width="1824" height="247" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/voice-calls-record-25.png" />

3. Click **Edit Page**.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/edit-a-voice-call-record-26.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=9beb1321d2a8cf253329a19567f88851" alt="edit-a-voice-call-record" width="1849" height="924" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/edit-a-voice-call-record-26.png" />

4. In the **search** box, search for **koreAgentAssistVoice**. Components are visible under the **Custom-Managed** section.

5. Drag the component to the screen at the required location, and adjust its height and width, as required.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-agent-assist-voice-27.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=f9f0f711bdc4ded070c53200a96745dd" alt="kore-agent-assist-voice" width="1848" height="963" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-agent-assist-voice-27.png" />

6. Click **Save**.

## Configure Genesys

### Generate Genesys OAuth Credentials

1. Sign in to **Genesys Cloud**.

2. Go to **Admin** > **Integrations** > **OAuth**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-oauth-28.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=b15f93d13d51ee958a1c2d3fd160b5d0" alt="genesys-cloud-oauth" width="512" height="228" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-oauth-28.png" />

3. Click **Add Client**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/oauth-add-client-29.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=849d1c50a4e2359e582e183b5285830e" alt="oauth-add-client" width="875" height="418" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/oauth-add-client-29.png" />

4. Enter relevant values in the **App Name**, **Description**, and **Token Duration** fields.

5. Select **Client Credentials** in the **Grant Types** field.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/client-credentials-30.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=b2f069fbd8fa622175d69bc00250b3ad" alt="client-credentials" width="1850" height="964" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/client-credentials-30.png" />

6. After saving the configuration, you get the Client ID and Client Secret of the created OAuth client.

7. Save the **Client ID** and **Client Secret** values.

8. Follow this [documentation](https://help.mypurecloud.com/articles/configure-oauth-settings/) for the rest of the steps related to configuring OAuth settings.

### Configure AudioHook

If you are using Kore-managed transcriptions, the final step is to install AudioHook for voice streaming. The AudioHook integration requires specific configuration values to support Agent AI configuration.

1. Sign in to **Genesys Cloud**.

2. Go to **Admin** > **Integrations** > **Integrations**.

3. Enter **audiohook** in the search box to check for any existing instances of AudioHooks.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-integrations-audiohook-31.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=68ff34274fcb925d48aaaaee3f542de8" alt="genesys-cloud-integrations-audiohook" width="1217" height="383" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-integrations-audiohook-31.png" />

4. Click the **Integrations** button on the top-right corner to install a new AudioHook app.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-audiohook-integrations-32.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=138270ebca40566592696e76b7755529" alt="genesys-cloud-audiohook-integrations-32" width="589" height="329" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-audiohook-integrations-32.png" />

5. Enter "audio" in the search box.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/audiohook-monitor-33.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=2d1429678a94c753d33ae6ff92304df9" alt="audiohook-monitor" width="1215" height="470" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/audiohook-monitor-33.png" />

6. Install **Audiohook Monitor**, and then go to the **Configuration** tab.

   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/audiohook-monitor-configuration-34.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=aafa206fcbcf725cf51c36162b0d6868" alt="audiohook-monitor-configuration" width="1219" height="571" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/audiohook-monitor-configuration-34.png" />

   1. For **Channel**, select "both" from the **Value** dropdown list.
   2. The **Connection URI** format should be similar to the following: \
      wss\://\[savg-webserver.kore.ai/audiosocket/genesys/?sipuri=xxx\&token=xxx\&botId=xxx\&accountId=xxx\&agentassist=true]
      1. Get `sipuri=sip:<sip-string>` from the **Agent AI** > **Flows & Channels** > **Channels** > **Voice Gateway** > **SIP Numbers** > **Configure SIP Trunk** page.
         <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/sip-identifier-35.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=4682e3254cb17c68a3fa0e61596f8184" alt="sip-identifier" width="701" height="858" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/sip-identifier-35.png" />

      2. Use the following references from **Agent AI** > **Flows & Channels** > **Channels** > **Digital** > **Web/Mobile Client** page to fetch **Bot ID**, **Account ID**, **Client ID**, and **Client Secret** (for token generation).
         <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-ai-botid-client-id-client-secret-36.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=069deb30c79710580276f295696d1801" alt="agent-ai-botid-client-id-client-secret" width="680" height="859" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-ai-botid-client-id-client-secret-36.png" />

      3. Follow the steps of [Using Platform APIs](/ai-for-service/apis/automation/api-introduction#generating-the-jwt-token), Kore.ai Documentation, to generate the token `(token= <token>)`.

7. Add credentials in the **Credentials** tab.

   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/credentials-tab-37.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=bd88ff02dc42cd0c5fbe55a67b66ff8e" alt="credentials-tab" width="1190" height="453" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/credentials-tab-37.png" />

   1. Refer to Step-6, and enter the **Client ID** and **Client Secret** credentials in the **API Key** and **Client Secret** fields respectively. These credentials are used to validate the audio stream signature by Kore.
   2. Click **OK**.

8. Click **Save**.

## Add Omni-Channel to the Utility bar

1. Click the **Gear** icon, and enter "App Manager" in the search box.

2. Click **APP Manager** from the suggestions list.

3. Search for the **Service Console** or **lightning app** (reference [Documentation](https://help.mypurecloud.com/articles/create-a-lightning-app-for-managing-cx-cloud-from-genesys-and-salesforce-integration/)) you created, and click the dropdown list against it.

4. Click the **Edit** button.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/lightning-experience-app-manager-38.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=de91cd126d49ea06027bf1549396b541" alt="lightning-experience-app-manager" width="1365" height="639" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/lightning-experience-app-manager-38.png" />

5. Click **Utility Items (Desktop Only)** > **Add Utility Item**.

6. Search for **Omni-Channel** and **Genesys Cloud CX Utility**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/omnichannel-genesys-cloud-cx-utility-39.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=8bb7484795f7401d4eb8fb4b46ece6bd" alt="omnichannel-genesys-cloud-cx-utility" width="1849" height="649" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/omnichannel-genesys-cloud-cx-utility-39.png" />

7. Rename the label, if required, and then click **Save**.

## Post-installation Validation

1. Click the **App Launcher** icon, and type **Service Console** / **Lightning app** created by you in the search bar.

2. Select **Service Console** from the suggestions list.

3. At the bottom of the page, in the **Utility Bar**, you can find **Omni-Channel**. Click it, change the status to **Available for Voice**.

4. A pop-up window to sign in into the Genesys account appears. Sign in to Genesys.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-signin-page-40.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=9eac7cba064b5510f252394d76e71239" alt="genesys-cloud-signin-page" width="2048" height="908" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/genesys-cloud-signin-page-40.png" />

5. When a user calls an agent, a voice call record page pops up automatically. The agent receives the call by clicking the **tick mark** button, as highlighted in the following screenshot:
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/receive-a-call-41.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=e87b55b98a278c4993eec75f4c54e819" alt="receive-a-call" width="1841" height="885" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/receive-a-call-41.png" />

6. Once the agent accepts the call, the following screen (a voice call record page) appears, with the **Kore Agent AI** widget displayed on the right side.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-agentai-widget-42.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=c46f14530759a186aa8e7b2e5da5e86d" alt="kore-agentai-widget" width="1834" height="891" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-agentai-widget-42.png" />

7. The conversation between the agent and the user appears as transcripts in Agent AI. If any of the user's words match with the words in the library, automations are displayed in the Agent AI widget. Based on user response, Agent AI displays the next automations.
   <img src="https://mintcdn.com/koreai/Y8WHoBoCnkhAPj0i/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-ai-widget-transcripts-automations-43.png?fit=max&auto=format&n=Y8WHoBoCnkhAPj0i&q=85&s=b192a65e25e9daa59bd59c1012feae25" alt="agent-ai-widget-transcripts-automations" width="1458" height="812" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/agent-ai-widget-transcripts-automations-43.png" />

8. Once the conversation ends, disconnect the call by clicking the **End Call** button, and in the wrap-up select the default wrap-up code, and **Submit**.
   <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/ending-a-call-44.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=44a1de7540a7056efd3a7dd5856a2eef" alt="ending-a-call" width="1825" height="849" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/ending-a-call-44.png" />

9. A pop-up window shows the conversation summary. To save it in Salesforce, click the **Submit** button.

10. On submitting the summary, it gets stored inside one of the custom objects. To access the summary, search inside **App Launcher** > **Kore NonCTI AgentAI Conversation Summary**.
    <img src="https://mintcdn.com/koreai/wBhZm_F3YgBV6Nll/ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-noncti-agentai-conversation-summary-45.png?fit=max&auto=format&n=wBhZm_F3YgBV6Nll&q=85&s=b65cd801dc02835ebf1a02ee06b00857" alt="kore-noncti-agentai-conversation-summary" width="1843" height="711" data-path="ai-for-service/agentai/integration/cx-cloud-genesys-salesforce/images/kore-noncti-agentai-conversation-summary-45.png" />
