# Statsig

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

Statsig connects with a Console API key.

:::callout{type="info"}
- You need to be an Admin or Owner of the Statsig project. Teams need the Enterprise plan.
:::

## Install the Statsig integration

Install Statsig from [Available integrations](https://app.truto.one/integrations/available/c1d9b3b4-d8b8-4baf-bb27-c03f4da4cdf6) in each environment you connect accounts from.

## Generate a Console API key

1. Sign in to Statsig and click **Project Settings**.
   ![Project settings](https://docs-assets.truto.one/statsig-details-1.png)
2. Select **Keys & Environments**.
   ![Keys and environments](https://docs-assets.truto.one/statsig-details-5.png)
3. Click **Generate New Key**.
   ![Generate new key](https://docs-assets.truto.one/statsig-details-3.png)
4. Select **Console** as the key type and add a description. Choose read-only access, or read and write access. Click **Create**.
   ![Create key](https://docs-assets.truto.one/statsig-details-4.png)
5. Copy the key.

## Connect a Statsig 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 Statsig account.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Select **Statsig**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | Your Statsig Console API key. |
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.
