## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.cognigy.com/llms.txt)

Use this file to discover all available pages before exploring further.

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

## Prerequisites

- Access to [8x8 platform](https://www.8x8.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)
- [Data Protection & Analytics](https://docs.cognigy.com/ai/agents/deploy/endpoints/data-protection-and-analytics)
- [Session Management](https://docs.cognigy.com/ai/agents/deploy/endpoints/session-management)
- [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)
- [Handover Settings](https://docs.cognigy.com/ai/agents/deploy/endpoints/handover-settings)
- [File Storage](https://docs.cognigy.com/ai/agents/deploy/endpoints/file-storage)
- [Copilot](https://docs.cognigy.com/agent-copilot/configure/copilot-section)

## Specific Endpoint Settings

8x8 Setup

| Parameter | Description |
| --- | --- |
| Base URL | The URL of the 8x8 Server. |
| API Key | The header value required for authenticating API calls to the 8x8 system. |
| 8x8-Tenant | The Tenant ID, the field is mandatory if a customer has multiple tenants in the organization. |

## How to Set Up

### Setup on the Third-Party Provider Side

Configure 8x8

01. Log in to the 8x8 Contact Center for admins.
02. On the **My Applications** page, select **Configuration Manager for Contact Center**.
03. In the left-side menu, click **Integration**, then go to the **Webhooks** tab.
04. On the **Webhooks List** tab, click **\+ Add webhook**.
05. Fill in the following fields:
    - **Name** — specify a unique name.
    - **URL** — paste the URL in the following pattern: `https://endpoint-your-environment/handover/eightByEight`. For instance, in a Cognigy trial environment, the URL would be `https://endpoint-trial.cognigy.ai/handover/eightByEight`.
    - **Chat API Version** — select **Chat Gateway v1.0**.
06. To check if the connection works, click **Test Connection** and save changes.
07. In the left-side menu, click **Queues/Skills**.
08. On the **Queue List** tab, create a queue with a chat type by clicking **\+ Chat**.
09. Fill in the following fields:
    - **Queue name** — specify a unique name.
    - **Queue description** — specify a unique description for the queue to differentiate it from others.  Save changes.
10. On the **Members** tab, assign and enable human agents who will operate within your queue to assist end users. Save changes.
11. In the left-side menu, click **Channels**.
12. On the **Chat API** tab, click **\+ New Channel**.
13. Fill in the following fields:
    - **Name** — specify a unique name.
    - **Description** — specify a description of your channel.
    - **Webhook** — select the webhook that you recently created.
    - **Queue** — select the queue that you recently created.
      Save changes.

### Setup on the Cognigy.AI Side

Configure 8x8 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 **8x8** Endpoint type.
   2. Add a unique name.
   3. Select a relevant Flow from the list.
   4. Click **Save**.
   5. In the Endpoint, go to the **8x8 Setup** settings.
   6. Specify a Base URL, API Key, and 8x8-Tenant that you received from the 8x8 server administrator.
   7. Copy the URL from the **Endpoint URL** field.
   8. _(Optional)_ Activate the **Accept Conversation Active Event** setting. When activated, the setting allows the system to accept and process `CONVERSATION UPDATE` events with the state set as `ACTIVE`. These events will be sent to the Flow for further handling. This setting allows accessing the event payload via the [Input object](https://docs.cognigy.com/ai/agents/test/interaction-panel/overview), which provides relevant information related to the ongoing conversation.

- If the toggle is activated, the end user doesn’t have to send the first message. The bot will automatically start replying.
      - If the toggle is not activated, the end user needs to engage in conversation with the bot first in order to receive a reply.
   9. Click **Save**.

To check the AI Agent’s performance, go to the installation that your server administrator has deployed.

## More Information

- [8x8 handover provider](https://docs.cognigy.com/ai/escalate/handover-reference/8x8)
