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

# Gorgias integration

> Enter your Gorgias subdomain, login email, and API key in Crossword, so every chat your Agent hands to a person goes to Gorgias instead of Crossword's Inbox.

Once you connect Gorgias, every chat your Agent hands to a person goes to Gorgias instead of Crossword's Inbox. Your support agents reply from Gorgias as usual. The visitor gets the replies in the Crossword widget.

To learn when your Agent hands off to a person, read [Escalation and handoff](https://crossword.ai/docs/agents/escalation-and-handoff.md#human-handoff).

## Prerequisites

You need admin access to your Crossword workspace and to Gorgias.

Open **Helpdesk > Connection** in the [Crossword dashboard](https://app.crossword.ai). This guide calls it the Helpdesk connection page.

## Setup

**1. Collect Gorgias credentials**

Note your **subdomain**, the part before `.gorgias.com`. For `acme.gorgias.com`, it is `acme`.

In Gorgias, go to **Settings > REST API** and copy the **API key**. Use an admin's key, so Crossword can set up webhooks for you. Gorgias explains this screen in [Access your Gorgias REST API credentials](https://docs.gorgias.com/en-US/rest-api-208286).

Note the **login email** of the Gorgias user that key belongs to.

**2. Enter API credentials**

On the Helpdesk connection page, choose **Gorgias**. Enter the **subdomain**, **login email**, and **API key**.

Click **Connect**. It can take up to a minute while Crossword checks the key and sets up webhooks.

## Manage the integration

* The **Health** section on the Helpdesk connection page shows whether the key and webhooks are working.
* If a key stops working, use **Replace the API key**. Open chats stay where they are.
* Turn on identity capture in the widget, so handoffs land under the visitor's email. Your Agent can also ask for it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.