# Files.com

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

Files.com connects with an API key and your site's subdomain.

:::callout{type="info"}
- You need to be a site administrator.
:::

## Install the Files.com integration

Install Files.com from [Available integrations](https://app.truto.one/integrations/available/6f67833b-8bb2-478e-8ec4-00481320bb8c) in each environment you connect accounts from.

## Create an API key

1. Sign in to Files.com and go to **Developers** → **API Keys** → **Add New API Key**.
   ![Add new API key](https://docs-assets.truto.one/filescom-api-key.png)
2. Copy the key.

Your subdomain is under **Customization** → **Custom Domain**.

![Subdomain](https://docs-assets.truto.one/filescom-details-1.png)

## Connect a Files.com 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 Files.com, 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 Files.com 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 **Files.com**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | Your Files.com API key. |
   | **Subdomain** | Yes | Your Files.com subdomain: for `acme.files.com`, enter `acme`. |
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.
