# Netlify

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

Netlify connects with a personal access token.

## Install the Netlify integration

Install Netlify from [Available integrations](https://app.truto.one/integrations/available/0945ba77-afeb-4e64-8fa6-c31922a5b663) in each environment you connect accounts from.

## Create a personal access token

1. Sign in to Netlify and go to [**Applications** → **Personal access tokens**](https://app.netlify.com/user/applications#personal-access-tokens).
2. Select **New access token** and enter a descriptive name.
   ![New access token](https://docs-assets.truto.one/netlify-details-1.png)
3. To reach a SAML-based team's data, select **Allow access to my SAML-based Netlify team**.
4. Pick an expiration date and select **Generate token**.
   ![Generate token](https://docs-assets.truto.one/netlify-details-2.png)
5. Copy the token.

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

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | Your Netlify personal 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.
