---
title: "Customer Setup - Genesys"
description: "This guide explains what you, as the customer, need to provide to enable the integration between Genesys Livechat and our platform."
canonical: "https://docs.cm.com/marketplace/live-chat-integrations/genesys-livechat/customer-setup-genesys"
---

# Customer Setup - Genesys

> This guide explains what you, as the customer, need to provide to enable the integration between Genesys Livechat and our platform.

Source: https://docs.cm.com/marketplace/live-chat-integrations/genesys-livechat/customer-setup-genesys

This guide explains what you, as the customer, need to provide to enable the integration between Genesys Livechat and our platform.

---

## 1. Setup in Customer's Genesys Account

The following setup steps need to be completed in the customer's Genesys account. You can ask them to perform these steps:

### Steps to create integration

1. Create an integration in Genesys Cloud
2. Specify the **outbound webhook URL** and **secret token** that open messages need to be authenticated on the server
3. You can create an integration from the Genesys Cloud Admin UI

### Steps to get the webhook url

1. Copy the **Genesys WebHook URL** from the Marketplace UI as shown in below

   \[Genesys webhook URL in the Marketplace UI]
2. This will be used as the outbound webhook URL

### Steps to configure oAuth client

1. Navigate to the OAuth admin page: **Admin** > **Integrations** > **OAuth**
2. The **Client ID** for each configured OAuth client will be shown in the list
3. Edit the OAuth client to view:
   - Grant type
   - Client secret
   - Redirect URIs
4. If you need to create a new OAuth client, see [Create an OAuth Client](https://help.mypurecloud.com/articles/create-an-oauth-client/)
5. **Note down the Client ID and Client Secret** (important for Setup in Marketplace for Genesys Details)

### Steps to retrieve queue id

1. Retrieve the **Queue ID** from the customer
2. This is the queue in which the agent will be present in Genesys

### Steps to retrieve schedule group id

To check the agent availability within the business hours of genesys cloud first, please note the schedule groupid from customer side.

### Steps to configure disconnect event payload

The customer needs to set the request payload for the **disconnect** event when the agent leaves on the Genesys side in the outbound webhook URL.

**Payload format:**

```json
{
    "conversationId": "xxxxx",
    "eventType": "disconnect",
    "agentLeftMessage":"agent left the conversation"
}
```

customer needs to set this event payload and set the agentLeftMessage message as per the need of customer

---

## 2. Setup in Marketplace for Genesys Details

In the Marketplace form fields, input the following details:

1. Retrieve the **Integration ID** created after following **Steps to create integration** and input this value in the **IntegrationId** form field.
2. Note down the **Client ID** and **Client Secret** from the **Steps to configure oauth client** and fill in the **Client Id** and **Client Secret** form fields respectively.
3. Input the **Login URL**. It will be `https://login.mypurecloud.x` where `x` is the country-code top-level domain. For example, it is "de" for Germany, so if your location is Germany then use `https://login.mypurecloud.de` as **Login URL**.
4. Input the **Resource URL**. It will be `https://api.mypurecloud.x` where `x` is the country-code top-level domain. For example, it is "de" for Germany, so if your location is Germany then use `https://api.mypurecloud.de` as **Resource URL**.
5. The value of **Webhook Signature Secret** will be the secret token created after following **Steps to create integration**. This value must be longer than 15 characters.
6. The value of **Queue ID** will be the Queue ID retrieved from the customer in **Steps to retrieve queue id** .
7. The value of \*\*Schedule Group Id \*\*will be the value retrieved from the customer in **Steps to retrieve schedule group id** .

in the end it will look like this:

\[Genesys Details form filled in Marketplace]
