The Userlike Endpoint enables you to connect your AI Agent to the [Userlike platform](https://www.8x8.com/).

## Prerequisites

- Access to [Userlike](https://www.userlike.com/).

## Generic Endpoint Settings

Learn about the generic Endpoint settings on the following pages:

- [Endpoints Overview](https://docs.cognigy.com/ai/agents/deploy/endpoints/overview)
- [NLU Connectors](https://docs.cognigy.com/ai/platform-features/nlu/external/nlu-connectors/overview)
- [Data Protection & Analytics](https://docs.cognigy.com/ai/agents/deploy/endpoints/data-protection-and-analytics)
- [Real-Time Translation Settings](https://docs.cognigy.com/ai/agents/deploy/endpoints/real-time-translation-settings)
- [Transformer Functions](https://docs.cognigy.com/ai/for-developers/transformers/overview)

## Specific Endpoint Settings

Userlike Settings

| **Parameter** | **Description** |
| --- | --- |
| API Version | Select the API version you want to use for the Userlike integration: **Live Chat** or **Unified Messaging**. |
| Webhook URL | If you select **Unified Messaging**, specify the URL that Userlike calls to send events and messages. |
| Security Token | If you select **Unified Messaging**, specify the token used to authenticate requests from Userlike to your webhook. |

## How to Set Up

### Setup on the Cognigy.AI Side

Create a Userlike Endpoint

1. In the left-side menu of your Project, click **Deploy > Endpoints**.
2. On the **Endpoints** page, click **+ New Endpoint**.
3. In the **New Endpoint** section, do the following:
   1. Select the **Userlike** Endpoint type.
   2. Specify a unique name.
   3. Select a Flow from the list and save changes.
   4. Go to the **Configuration Information** section and copy the URL from the **Endpoint URL** field. Save changes.

### Setup on the Userlike Side

Create a Chatbot in Userlike

01. Log in to the Userlike Dashboard.
02. From the left-side menu, select **Settings > Chatbots**.
03. Click **+ Add** to create a new chatbot.
04. On the **New chatbot** page, configure the following settings:
    - **Name** — enter the chatbot name.
    - **Operator group** — select the group for the chatbot.
    - **Bot behavior mode** — select **Human**.
    - **Bot type** — select **API**.
05. Save your changes. When the chatbot appears in the **Chatbots** list, go to the **Actions** column, click the three-dot button, then select **Edit**.
06. In the **Webhook URL** field, paste the Endpoint URL from the Cognigy.AI Userlike Endpoint.
07. If you selected the **Unified Messaging API** in the Cognigy.AI Userlike Endpoint, copy the following fields:
    - **API URL** — copy and paste this URL into the **Webhook URL** field in the Cognigy.AI Endpoint.
    - **API security token** — copy and paste this token into the **Security Token** field in the Cognigy.AI Endpoint.
08. Save your changes. Go to **Settings > Channels**. Select **Website**, then click **+ Add widget**. Copy the code from the **Your Userlike Widget** field and click **Configure widget**.
09. When the widget appears in the **Widgets** list, go to the **Actions** column, click the three-dot button, then select **Edit**.
10. In the **Messenger URL**, enter the URL where you want to display your widget. Open your website to see the widget and test the workflow.

## More Information

- [Help Center: Userlike Deployment](https://support.cognigy.com/hc/en-us/articles/360016310079)
