# Enchant

> Source: https://truto.one/docs/integration-guides/enchant/

Enchant connects with an access token from Enchant's API app and your helpdesk's subdomain.

:::callout{type="info"}
- Available on all Enchant plans. You need to be an administrator.
:::

## Install the Enchant integration

Install Enchant from [Available integrations](https://app.truto.one/integrations/available/fbb1a134-3eed-4844-8715-ea2279038100) in each environment you connect accounts from.

## Generate an access token

1. Sign in to Enchant and open **Apps** on the settings page.
   ![Apps](https://docs-assets.truto.one/enchant-2.png)
2. Click **Add new app** in the top-right corner.
   ![Add new app](https://docs-assets.truto.one/enchant-3.png)
3. Select **API**.
   ![Select API](https://docs-assets.truto.one/enchant-4.png)
4. Click **Install now**.
   ![Install now](https://docs-assets.truto.one/enchant-5.png)
5. Enter a name and click **Save**. Enchant shows the access token.
   ![Save](https://docs-assets.truto.one/enchant-6.png)
   ![Access token](https://docs-assets.truto.one/enchant-7.png)

The subdomain is the first part of your helpdesk URL in the browser.

![Enchant subdomain](https://docs-assets.truto.one/enchant-1.png)

## Connect an Enchant account

1. In [Integrated Accounts](https://app.truto.one/integrated-accounts), click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a **Tenant ID** (your customer's ID; Truto creates the tenant if it is new), or pick one under **Existing tenant (optional)**. Check the **Environment** and the **Region** (where Truto places the account; Western North America by default). To open the link straight on Enchant, pick it under **Advanced settings** → **Integration (optional)**. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Click the open-in-new-tab button, or click **Copy** and send the link to your customer so they connect their own Enchant account. The link works for 7 days, until an account is connected with it.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Click **Get Started** if it shows, then select **Enchant**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **Enchant Subdomain** | Yes | The first part of your helpdesk URL: for `acme.enchant.com`, enter `acme`. |
   | **Access Token** | Yes | The token from [Generate an access token](#generate-an-access-token). |
6. Close the tab when you see **Connection successful**. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
