> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-agent-management-platform-dev.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](../../../dev-tools/bot-authorization/bot-authentication.md) 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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img2.png" alt="Auth type - Basic auth" />

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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img3.png" alt="Details to authorize the integration" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img4.png" alt="Integration successful" />

   <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](using-the-zendesk-action-templates.md).

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img5.png" alt="Skip for now" />

### 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](../../../dev-tools/bot-authorization/bot-authentication.md).

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img6.png" alt="Create new auth" />

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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img7.png" alt="Authentication credentials" />

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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img8.png" alt="Explore templates" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img9.png" alt="Begin installation" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img10.png" alt="Dialog tasks for each installed template are auto-created" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img11.png" alt="Select the desired dialog task from the templates and Proceed" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/zendesk-action-img12.png" alt="Dialog task is auto-created and the canvas opens" />


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