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

# Connect Freshdesk

> Connect your Freshdesk help desk and your agent can raise a support ticket while the caller is still on the line, and look up or update a ticket when the caller gives its number.

Connect your Freshdesk help desk and your agent can raise a support ticket while the
caller is still on the line, and look up or update a ticket when the caller gives its
number.

Freshdesk is free to connect.

## What you need

| You need | Details |
| - | - |
| A paid Freshdesk plan | "Freshdesk does not offer API keys on its Free plan." |
| Your Freshdesk subdomain and API key | Step 1 shows where to find them. |
| An agent | See [Set up your first voice agent](https://docs.getsmartalex.com/how-to/first-voice-agent.md). |
| Time | About five minutes. |

## 1. Find your subdomain and API key

**Your subdomain** is the first part of your Freshdesk address. If you sign in at
`https://acme.freshdesk.com`, your subdomain is `acme`, not the whole address.

**Your API key**: "In Freshdesk, click your profile picture (top right), then Profile
settings. Click View API key on the right, complete the captcha, and copy it." If it
says your API key is disabled, an account admin has to switch it on in Freshdesk.

## 2. Connect Freshdesk in SmartAlex

1. Open **Agent Settings**, then **Connectors**.
2. On **Browse**, find **Freshdesk** ("Raise and look up support tickets in your help
   desk during a call.") under **Support**, and click it.
3. Click **Install connector**, then **Continue**.
4. Type your subdomain into **Freshdesk subdomain** and paste your key into **API key**.
   **Where do I find this?** opens Freshdesk's own help page.
5. Click **Connect**. SmartAlex checks the key with Freshdesk before saving it.

You see "Freshdesk connected.", and the page shows your Freshdesk address with
**Connected**.

## 3. Turn on the ticket tools for an agent

Connecting Freshdesk does not change any agent on its own. Turn on the tools you want,
per agent. When you open Freshdesk from an agent's settings, the **Tools** list ("What
your agent can do in Freshdesk on a call.") shows them with a switch each. You can also
switch them on under **Agent Settings**, then **Tools**.

| Tool | What the agent can do |
| - | - |
| **Create support ticket** | Raise a new ticket for the caller. |
| **Look up support ticket** | Read a ticket when the caller gives its number. |
| **Update support ticket** | Change the status, priority or details of a ticket. |
| **Delete support ticket** | Permanently delete a ticket. Leave this off unless you are sure. |

Changes apply on the next call. The list shows how many of the agent's tools are on. If
you see "This agent is full. Turn another tool off to add this one.", turn another tool
off first.

## How tickets are raised

* The agent needs the caller's name, and their email address or phone number. On a phone
  call it uses the number the caller is ringing from.
* A new ticket is opened with medium priority.
* The agent can only find a ticket by its number. Ask callers to have their ticket
  number ready.

## Disconnect

On the Freshdesk page, click **Disconnect**. There is no second warning. You see
"Freshdesk disconnected." SmartAlex removes the key and turns the ticket tools off for
every agent in your workspace.

## If it does not work

| What you see | What to do |
| - | - |
| "Enter your Freshdesk subdomain." | Type the first part of your Freshdesk address, such as `acme`. |
| "Enter your Freshdesk API key." | Paste your API key, then click **Connect**. |
| "Freshdesk rejected that API key for that domain." | Copy the key again from **Profile settings** in Freshdesk, and check the subdomain. |
| "No Freshdesk account found at ....freshdesk.com." | Check the subdomain. Use only the first part of the address. |
| Your API key is disabled in Freshdesk | Ask a Freshdesk account admin to switch it on. |
| "Could not connect to Freshdesk." | Wait a moment and try again. |
| The agent cannot raise tickets | Check **Create support ticket** is on for that agent. |
| The agent cannot find a ticket | It needs the ticket number. Ask the caller for it. |


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