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

# Configuring the Freshservice ITSM Action

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

Connect the Platform to Freshservice to create, view, update, and delete ITSM tickets. See [Freshservice documentation](https://www.freshworks.com/freshservice/product-updates/) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for Freshservice 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 Freshservice action:

* Create a Freshservice account and note your login credentials.
* Copy the **API Key** and **Domain name** of your Freshservice account.

***

## Step 1: Enable the Freshservice Action

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

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

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

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img2.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=15a97de44198a3066c0693216fd918fe" alt="Auth type" width="789" height="851" data-path="ai-for-service/integrations/actions/images/freshservice-action-img2.png" />

3. Enter the following fields:

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

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img3.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=fbeb4be49fa21790afd7515ffe8ac663" alt="Enable integration" width="593" height="254" data-path="ai-for-service/integrations/actions/images/freshservice-action-img3.png" />

<Note>The Freshservice 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-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img4.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=4b7657e84456845674b41b6f31411a3e" alt="Create new auth profile" width="797" height="850" data-path="ai-for-service/integrations/actions/images/freshservice-action-img4.png" />

4. Select the authorization mechanism (for example, **Basic Auth**).

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img5.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=4746d72db18aafbbfb3463220f956d6a" alt="Auth mechanism type" width="797" height="914" data-path="ai-for-service/integrations/actions/images/freshservice-action-img5.png" />

   See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for creating Basic Auth profiles.

5. Enter the following credentials:

   | Field                   | Description                                   |
   | ----------------------- | --------------------------------------------- |
   | Name                    | Name for the Basic Auth profile               |
   | Tenancy URLs            | Select Yes if tasks require tenancy URLs      |
   | Base URL                | Base tenant URL for the Freshservice instance |
   | Authorization Check URL | Auth check URL                                |
   | Description             | Description of the auth profile               |

6. Click **Save Auth**.

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img6.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=36ba9182920dd81e73ff9314e2906abe" alt="Save auth" width="789" height="911" data-path="ai-for-service/integrations/actions/images/freshservice-action-img6.png" />

7. Select the new profile.

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img7.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=c697bb2cfa1b7e5aff5d07c9d1c252a1" alt="Enable integration" width="798" height="855" data-path="ai-for-service/integrations/actions/images/freshservice-action-img7.png" />

***

## Step 2: Install Freshservice Action Templates

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img8.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=01db0fccb807d09696dbf6213e0a7c54" alt="Explore templates" width="592" height="252" data-path="ai-for-service/integrations/actions/images/freshservice-action-img8.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img9.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=3b5ea342526cae48a82000c02675e96b" alt="Install" width="591" height="724" data-path="ai-for-service/integrations/actions/images/freshservice-action-img9.png" />

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

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img10.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=0efdc65a42b1c3c06f4eacc4438dc290" alt="Dialog tasks auto created" width="1694" height="678" data-path="ai-for-service/integrations/actions/images/freshservice-action-img10.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img11-tem-img2.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=43e2cc6fc90326dfdf2c7812af8367b0" alt="Select dialog task" width="799" height="910" data-path="ai-for-service/integrations/actions/images/freshservice-action-img11-tem-img2.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/75nu0IBH7zxWjqMd/ai-for-service/integrations/actions/images/freshservice-action-img12.png?fit=max&auto=format&n=75nu0IBH7zxWjqMd&q=85&s=16acfa4c505080d7425bf7f6c063507b" alt="Dialog task canvas" width="1733" height="915" data-path="ai-for-service/integrations/actions/images/freshservice-action-img12.png" />
