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

# Configuring the Freshdesk Action

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

Connect the Platform to Freshdesk to create, view, update, search, and delete tickets. See [Freshdesk documentation](https://www.freshworks.com/freshdesk/resources/) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for Freshdesk integration. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Supported |
| ---------------------------------------- | --------- |
| Pre-Authorize the Integration            | Yes       |
| Allow Users to Authorize the Integration | Yes       |

***

## Prerequisites

Before enabling the Freshdesk action:

* Create a [Freshdesk](https://www.freshworks.com/freshdesk/resources/) developer account.
* Copy the **API Key** and **Domain name** of your Freshdesk account.

***

## Step 1: Enable the Freshdesk Action

Go to **App Settings > Integrations > Actions** and select **Freshdesk**.

### Pre-authorize the Integration (Basic Auth)

1. Select **Freshdesk** in the **Available Actions** region.

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

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

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img2.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=246143613aa494921d77cba367172eb4" alt="Auth type" width="798" height="853" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img2.png" />

4. Enter the following fields:

   | Field           | Description                              |
   | --------------- | ---------------------------------------- |
   | User Sub Domain | Domain name of the Freshdesk account     |
   | API Key         | Secret API key of your Freshdesk account |

5. Click **Enable**. The Integration Successful pop-up appears on first configuration.

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img3.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=a28384e3384a8ccc9fad1d3d0245169f" alt="Enable integration" width="588" height="240" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img3.png" />

<Note>The Freshdesk action moves from Available to Configured.</Note>

### Allow End Users to Authorize (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

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

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img4.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=6fb423f7345e4bdeaf17b2f06e1d9193" alt="Create new auth profile" width="797" height="850" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img4.png" />

4. Select the authorization mechanism (for example, **Basic Auth**). See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles).

5. Enter the following credentials:

   | Field                   | Description                                |
   | ----------------------- | ------------------------------------------ |
   | Name                    | Name for the Basic Auth profile            |
   | Tenancy URLs            | Select No                                  |
   | Base URL                | Base tenant URL for the Freshdesk instance |
   | Authorization Check URL | Auth check URL                             |
   | Description             | Description of the auth profile            |

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img5.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=00cec3bd35c00abe0fd36b1812feb5f5" alt="Auth credentials" width="998" height="915" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img5.png" />

6. Click **Save Auth**.

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img6.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=483543b2f7512f6f25e46e2d26326eb1" alt="Save auth" width="1000" height="907" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img6.png" />

7. Select the new profile.

8. Click **Enable**. The Integration Successful pop-up appears.

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img7.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=507ca2d7fb38bab284f14e55645e2e02" alt="Enable integration" width="798" height="850" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img7.png" />

***

## Step 2: Install Freshdesk Action Templates

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

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img8.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=0d02010d4ff1690510b0a53cb9074f6e" alt="Explore templates" width="590" height="237" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img8.png" />

2. Click **Install** for the desired template.

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img9.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=3396bad4c55bba7f18416b6bb2dde33b" alt="Begin installation" width="591" height="722" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img9.png" />

3. Click **Go to Dialog** to view the dialog task.

4. A dialog task is auto-created for each installed template.

5. Select the desired dialog task and click **Proceed** (for example, **Create a Ticket**).

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=8f1e061778f39f4fe5507b7a3aebf942" alt="Select dialog task" width="797" height="900" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png" />

6. The canvas opens with all required entity nodes, service nodes, and message scripts.

   <img src="https://mintcdn.com/koreai-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/freshdesk-action-img11.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=ccc141a1d3f9bb5b5055f4f7c5afc4b5" alt="Dialog task canvas" width="1693" height="765" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img11.png" />
