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

# Connect Zendesk

> Connect Zendesk to Retell AI with OAuth so agents can identify callers, look up their tickets, file new ones, and add comments or private notes.

Connecting Zendesk takes your Zendesk URL and an OAuth sign-in. One connection gives you [agent functions](/integrations/zendesk-functions): your agents identify callers, work their tickets, and record call outcomes as comments or notes.

This page covers connecting and what the signed-in account needs.

## When to use it

Connect Zendesk when your support runs on it and you want an agent handling the front of the queue. It's the right choice when you want to:

* **Identify callers without asking for a ticket number.** The agent searches Zendesk for the caller's number, finds their profile, and pulls up their active tickets before the caller finishes explaining.
* **File tickets from calls automatically.** When a caller reports a new issue, the agent creates the ticket with a subject and description summarized from the conversation.
* **Keep the ticket as the source of truth.** The agent adds the call's outcome to the ticket as a public comment the requester sees, or a private internal note for your team.

For example, a software company's support line answers with a Retell agent that searches the caller's number, reads back the status of their most recent ticket, and adds a private note summarizing the call — a human only picks up when the issue is new or escalated.

## Prerequisites

* A Zendesk account with an **agent or admin role**. Retell acts as whoever signs in, and end-user accounts can't read other people's tickets or work the queue.
* Your Zendesk URL, `https://your-subdomain.zendesk.com`.
* Use a dedicated integration account rather than a person's account, so tickets and comments are attributed to the integration and the connection doesn't break when someone leaves.

## Connect Zendesk in Retell

<Steps>
  <Step title="Add the connection">
    In the Retell Dashboard, open **Integrations**, select the **Available** tab, find **Zendesk**, and click **Connect** (**Add Account** if a connection already exists).
  </Step>

  <Step title="Enter your Zendesk URL and sign in">
    Fill in the fields:

    | Field                  | Value                                                        |
    | ---------------------- | ------------------------------------------------------------ |
    | **Connection name**    | Alias for this connection; prefilled with `Zendesk - OAuth`. |
    | **Zendesk tenant URL** | Your Zendesk URL, for example `https://acme.zendesk.com`.    |

    <Frame caption="The Zendesk connection dialog: your Zendesk URL, then an OAuth sign-in.">
      <div style={{ aspectRatio: '16 / 9', width: '100%', background: 'rgba(128,128,128,0.15)', display: 'flex', alignItems: 'center', justifyContent: 'center', borderRadius: '8px', overflow: 'hidden' }}>
        <img src="https://mintcdn.com/retellai/eQ17pyeTZnmNJIsQ/images/integration/zendesk-connect-dialog.png?fit=max&auto=format&n=eQ17pyeTZnmNJIsQ&q=85&s=beee89cabab7cd1a5ec1934348bf302b" alt="Retell's Zendesk connection dialog on its Connect tab, with a Functions tab beside it. It has a Connection name field prefilled with Zendesk - OAuth and a Zendesk tenant URL field with the placeholder https://your-subdomain.zendesk.com, above a Need help finding your credentials link and Cancel and Add Account buttons." style={{ maxWidth: '100%', maxHeight: '100%', objectFit: 'contain' }} width="1202" height="1006" data-path="images/integration/zendesk-connect-dialog.png" />
      </div>
    </Frame>

    Click **Connect** (**Add Account** if a connection already exists). A Zendesk window opens; sign in with the integration account and approve the request. Retell asks for Zendesk's `read` and `write` scopes, and the token can do only what those scopes and the account's role allow. Retell stores the resulting token, so nobody has to sign in again.

    <Frame caption="Zendesk's consent screen for the Retell AI app — click Allow to finish connecting.">
      <div style={{ aspectRatio: '16 / 9', width: '100%', background: 'rgba(128,128,128,0.15)', display: 'flex', alignItems: 'center', justifyContent: 'center', borderRadius: '8px', overflow: 'hidden' }}>
        <img src="https://mintcdn.com/retellai/eQ17pyeTZnmNJIsQ/images/integration/zendesk-oauth-consent.png?fit=max&auto=format&n=eQ17pyeTZnmNJIsQ&q=85&s=cb7402d90b0764421b33ae2257d83c59" alt="Zendesk's OAuth consent screen asking Allow Retell AI to access your Zendesk account. It lists what the application would be able to do: read all data and write all data. The Allow button is highlighted with a blue ring next to Deny, and the signed-in username below is redacted." style={{ maxWidth: '100%', maxHeight: '100%', objectFit: 'contain' }} width="1152" height="648" data-path="images/integration/zendesk-oauth-consent.png" />
      </div>
    </Frame>

    Admins can review or revoke this authorization anytime in Zendesk under **Admin Center > Apps and integrations > APIs > External OAuth clients**.
  </Step>

  <Step title="Confirm the connection">
    Retell tests the connection by fetching the signed-in user's own profile. On success the connection appears on the **Connected** tab, and Zendesk tools appear in your agents' function menus — see [Zendesk agent functions](/integrations/zendesk-functions) for what they can do.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Connecting fails or the sign-in window errors">
    Check the tenant URL: it must be your own Zendesk origin, `https://your-subdomain.zendesk.com`, with nothing after the domain. A host-mapped vanity domain or a URL with a path won't work.
  </Accordion>

  <Accordion title="The connection errored after working for a while">
    Retell flags a connection as errored when Zendesk rejects the stored token, usually because the account was suspended or the authorization was revoked under **Admin Center > Apps and integrations > APIs > External OAuth clients**. A role downgrade doesn't error the connection; it shrinks what the tools can do (see [required role](/integrations/zendesk-functions#required-role)). Open the connection's settings and click **Reconnect** to sign in again.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Zendesk agent functions" icon="wrench" href="/integrations/zendesk-functions">
    Identify callers by phone, read and update their tickets, and record the call as a comment or note.
  </Card>

  <Card title="Integrations overview" icon="plug" href="/integrations/overview">
    See every provider Retell connects to and how integration tools work.
  </Card>

  <Card title="Knowledge base" icon="book" href="/build/knowledge-base">
    Let the same support agent answer FAQs from your help center content.
  </Card>

  <Card title="Call transfer" icon="phone" href="/build/conversation-flow/call-transfer-node">
    Hand off to a human when the issue needs one.
  </Card>
</CardGroup>
