# 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. Click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a Tenant ID. This can be any ID you choose. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Open the generated link. You can also share it with your customer so they connect their own Enchant account.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. 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 the connection successful message. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
