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

# Zendesk AI Connector

> Connect Rootly AI to Zendesk support tickets, users, and organizations through a Zendesk External AI connection.

## Overview

The Zendesk connector gives Rootly AI read access to your Zendesk Support account during investigations. When an alert or incident lines up with customer reports, Rootly AI can find the related tickets, read their comments, and see which users and organizations raised them.

Rootly connects to Zendesk's MCP server through a Zendesk **External AI** connection that your Zendesk admin creates. Rootly requests only Zendesk's `read` scope, so it cannot create, update, or reply to tickets.

***

## Before You Start

* **Zendesk External AI.** Zendesk's MCP server for external AI agents is in Zendesk's early access program (EAP). In Zendesk Admin Center, check that **AI → External AI** appears in the sidebar. If it doesn't, ask Zendesk to enroll your account.
* **A Zendesk admin** to create the OAuth client and the External AI connection.
* **A Rootly role that can connect connectors:** Incident Response Owner, Incident Response Admin, or On-Call Admin.

***

## Setup

Setup takes three steps: two in Zendesk Admin Center and one in Rootly.

**1. Create an OAuth client in Zendesk**

In Zendesk Admin Center, go to **Apps and integrations → APIs → OAuth clients** and click **Add OAuth client**. Enter:

| Field | Value |
| - | - |
| **Name** | Rootly AI |
| **Company** | Rootly |
| **Client kind** | **Public** |
| **Redirect URLs** | `https://rootly.com/account/ai-sre/remote_mcp_sources/callback` |
| **Scopes** | Leave empty |

Save the client and copy its **Identifier**. Zendesk also shows a secret once. Rootly doesn't use it, because a public client signs in with PKCE.

> [!NOTE]
>
> **External OAuth clients** is a different page. It lists apps from other Zendesk accounts that already have access to yours, and you can't add a client there.

**2. Add an External AI connection in Zendesk**

In Zendesk Admin Center, go to **AI → External AI**, click **Add connection**, and choose **Bring your own provider**. Enter:

* **Provider:** type `Rootly`.
* **Authentication:** select the OAuth client from step 1.
* **Connection name:** for example, `Rootly AI SRE`.
* **Description:** describe a read-only use, for example: *Rootly AI SRE reads tickets, users, and organizations to find customer-reported context during incident investigations. It must not create, update, reply to, or delete tickets, or change users or organizations.*
* **Who should have access:** the agent groups of the people who will authorize Rootly.

On the **Tools** page, select read and search tools only:

* List search results
* List tickets
* Look up ticket
* List comments
* List organization tickets
* List user requested tickets
* Search organizations
* Look up organization
* List users
* List users by group
* Look up user

Save the connection. On its **Setup** tab, copy the **MCP server URL**, which looks like `https://yourcompany.zendesk.com/mcp/01ABCDEFGHJKMNPQRSTVWXYZ00`.

**3. Connect Zendesk in Rootly**

In Rootly, click **AI & Agents** in the sidebar, then **Connectors**, and click **Connect** on the Zendesk card. Enter:

* **Connection name**
* **MCP server URL** from the Setup tab
* **OAuth client identifier** from step 1

Click **Connect**, sign in to Zendesk, and approve access. When the flow completes, the card shows **Connected**.

***

## What Rootly AI Can Read

* **Tickets**: search results, ticket details, and comments.
* **Users**: profiles, group membership, and the tickets a user requested.
* **Organizations**: organization details and their tickets.

Rootly AI acts with the permissions of the Zendesk user who authorized the connection, limited to the tools selected in the External AI connection.

***

## During an Incident

*"Three customers from the same organization opened tickets about failed exports in the last hour, starting two minutes after the alert fired."*

Rootly AI searches Zendesk for tickets that match the affected service or error, reads their comments, and adds the customer impact to the investigation.

***

## Troubleshooting

> [accordion] Zendesk shows "No such client"
>
> Zendesk doesn't recognize the client identifier. Check that you copied the **Identifier** of the OAuth client, not its name or numeric ID. Also check that the client is selected under **Authentication** in the External AI connection.

> [accordion] Zendesk shows a redirect URI error
>
> The client's **Redirect URLs** must contain `https://rootly.com/account/ai-sre/remote_mcp_sources/callback` exactly, with no trailing slash.

> [accordion] Rootly rejects the MCP server URL
>
> Paste the URL from the External AI connection's **Setup** tab. It must be `https://<subdomain>.zendesk.com/mcp/` followed by the connection ID.

> [accordion] Connected, but Rootly AI finds nothing
>
> Confirm the tools are selected in the External AI connection, and that the Zendesk user who authorized Rootly can see those tickets in Zendesk.

***

## Frequently Asked Questions

> [accordion] Can Rootly AI change tickets?
>
> No. Rootly requests only the `read` scope, and the setup above selects only read tools.

> [accordion] Why does my Zendesk admin need to create an OAuth client?
>
> Zendesk's MCP server only accepts OAuth clients that the account registers itself, or a small set of providers that Zendesk has pre-approved.

> [accordion] Does Rootly store Zendesk data?
>
> Rootly doesn't keep a copy of your Zendesk data. Queries run during investigations, and results can appear in the LLM traces Rootly logs for quality monitoring. See [Data Privacy for Rootly AI](https://docs.rootly.com/ai/data-privacy-for-rootly-ai.md).

***

## Related Pages

> [card] [Connectors Overview](https://docs.rootly.com/ai/connectors/overview.md)
>
> All connectors and how they fit together.

> [card] [Atlassian](https://docs.rootly.com/ai/connectors/atlassian.md)
>
> Pair customer tickets with engineering work in Jira.

> [card] [Data Privacy for Rootly AI](https://docs.rootly.com/ai/data-privacy-for-rootly-ai.md)
>
> What Rootly AI sees, retention, and model training controls.


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