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

# Configuring the Zendesk Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect Zendesk to create, view, update, search, and delete tickets. See [Zendesk Developer Documentation](https://developer.zendesk.com/documentation/) for more information.

***

## Authorizations Supported

The XO Platform supports basic authentication for Zendesk. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Basic OAuth |
| ---------------------------------------- | ----------- |
| Pre-authorize the Integration            | Yes         |
| Allow Users to Authorize the Integration | Yes         |

***

## Step 1: Enable the Zendesk Action

**Prerequisites:**

* If you don't have Zendesk credentials, create a developer account. See [Zendesk Developer Documentation](https://developer.zendesk.com/documentation/).
* Copy the User sub domain, username/email, password, and API token of your Zendesk account.

**Steps:**

1. Go to **App Settings** > **Integrations** > **Actions**.
2. Select **Zendesk**.

### Pre-authorize the Integration

**Basic OAuth**

1. Go to **App Settings** > **Integrations** > **Actions** and select **Zendesk**.

2. In **Configurations**, select the **Authorization** tab.

3. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img2.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=4f2553751a7ee7803aa8cdecaee35d29" alt="Auth type - Basic auth" width="954" height="832" data-path="ai-for-service/integrations/actions/images/zendesk-action-img2.png" />

4. Enter the following details:

   * **User Sub Domain** - The instance name of the Zendesk account.
   * **Username or Email** - The username or email of the Zendesk account.

   <Note>You must enter **/token** after the email address to authenticate. For example, `john@example.com/token`.</Note>

   * **API Token** - The password token of the Zendesk account.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img3.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=a7707c400f6f7da175223fe65e83bae3" alt="Details to authorize the integration" width="949" height="836" data-path="ai-for-service/integrations/actions/images/zendesk-action-img3.png" />

5. Click **Save**. The **Integration Successful** pop-up is displayed.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img4.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=13aeed2b07e2cac0d0b1e05d024a0a01" alt="Integration successful" width="714" height="279" data-path="ai-for-service/integrations/actions/images/zendesk-action-img4.png" />

   <Note>The Zendesk action moves from *Available* to *Configured* after enabling.</Note>

6. You can also click **Skip for Now** to install templates later. See [Using the Zendesk Action Templates](/ai-for-service/integrations/actions/using-the-zendesk-action-templates).

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img5.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=1cc340af8770d3b2b3253f91ecc148f4" alt="Skip for now" width="714" height="279" data-path="ai-for-service/integrations/actions/images/zendesk-action-img5.png" />

### Allow End User to Authorize

1. Go to **App Settings** > **Integrations** > **Actions** and select **Zendesk**.

2. In **Configurations**, select the **Authorization** tab.

3. Select **Basic Auth** as the authorization type. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles).

4. Click **Select Authorization** > **Create New**.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img6.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=0b6f56eb7c343c4fe91da4f69b2c7105" alt="Create new auth" width="951" height="835" data-path="ai-for-service/integrations/actions/images/zendesk-action-img6.png" />

5. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**, then enter the following credentials:

   * **Name** - Name for the Basic Auth profile.
   * **Base URL** - Base tenant URL for the Zendesk instance.
   * **Authorization Check URL** - Authorization check URL for your Zendesk instance.
   * **Description** - Description of the profile.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img7.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=3848b5d9733ef055367abfb0ff1436be" alt="Authentication credentials" width="956" height="902" data-path="ai-for-service/integrations/actions/images/zendesk-action-img7.png" />

6. Click **Save Auth**.

7. Select the new **Authorization Profile**.

8. Click **Save**.

***

## Step 2: Install the Zendesk Action Templates

1. On the **Integration Successful** dialog, click **Explore Templates**.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img8.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=9e3503b3bf4fbff4c5a75533394ad970" alt="Explore templates" width="714" height="279" data-path="ai-for-service/integrations/actions/images/zendesk-action-img8.png" />

2. Click **Install** to begin installation.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img9.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=8bdadf37dabdd9c8fd3b53ad0deac4d9" alt="Begin installation" width="714" height="800" data-path="ai-for-service/integrations/actions/images/zendesk-action-img9.png" />

3. Once installed, click **Go to Dialog**. A dialog task for each template is auto-created.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img10.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=708f06cfa180e8362c2a437d3772bfc4" alt="Dialog tasks for each installed template are auto-created" width="1631" height="557" data-path="ai-for-service/integrations/actions/images/zendesk-action-img10.png" />

4. Select the desired dialog task and click **Proceed**.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img11.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=926883ddd62d199337a2d76de3f2ad96" alt="Select the desired dialog task from the templates and Proceed" width="943" height="908" data-path="ai-for-service/integrations/actions/images/zendesk-action-img11.png" />

5. The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts.

   <img src="https://mintcdn.com/koreai/6kNZlFFL7-veA_Xn/ai-for-service/integrations/actions/images/zendesk-action-img12.png?fit=max&auto=format&n=6kNZlFFL7-veA_Xn&q=85&s=f5b1cf1a8f9622b6076c31f184b54d21" alt="Dialog task is auto-created and the canvas opens" width="1423" height="904" data-path="ai-for-service/integrations/actions/images/zendesk-action-img12.png" />


Built with [Mintlify](https://mintlify.com).