---
title: "Statsig"
canonical_url: "https://docs.getdx.com/connectors/statsig/"
md_url: "https://docs.getdx.com/connectors/statsig.md"
last_updated: "2026-06-11"
---

# Statsig
By integrating Statsig with DX, you can analyze experiment, metric, and feature data from your Statsig project. Please refer to the API documentation below and our [schema explorer](https://docs.getdx.com/schema/) to see what data DX imports.

## Prerequisites

To connect Statsig to DX, you need:

- a Statsig Console API key

## Setup instructions

Follow the steps below to connect Statsig to DX.

#### Step 1

In Statsig, generate a Console API key:

- Navigate to **Settings** in the left sidebar.
- Open **Keys & Environments**.
- Click **Generate New Key**.
- In the **Create New Key** modal:
  - Set **Key Type** to **Console**.
  - (Optional) Add a description.
  - Enable **Make Read Only**.
  - Leave **Can Access Keys** unchecked.
- Click **Create**.
- Copy the generated key from **Console API Keys**.

#### Step 2

- Navigate to the connections page in DX and select "+ Connection" in the top right.
- Select **Statsig** and paste your API token.

## API reference

The table below lists the API endpoints used by DX.


| Endpoint | Documentation |
|----------|---------------|
| `/console/v1/project` | [Get Project Info](https://docs.statsig.com/api-reference/project/get-project-info) |
| `/console/v1/users` | [List Users](https://docs.statsig.com/api-reference/users/list-users) |
| `/console/v1/environments` | [Get Environments](https://docs.statsig.com/api-reference/environments/get-environments) |
| `/console/v1/tags` | [List Tags](https://docs.statsig.com/api-reference/tags/list-tags) |
| `/console/v1/target_app` | [List Target Apps](https://docs.statsig.com/api-reference/target-app/list-target-apps) |
| `/console/v1/layers` | [Get Layers](https://docs.statsig.com/api-reference/layers/get-layers) |
| `/console/v1/metrics/list` | [List All Metrics](https://docs.statsig.com/api-reference/metrics/list-all-metrics) |
| `/console/v1/experiments` | [List Experiments](https://docs.statsig.com/api-reference/experiments/list-experiments) |
| `/console/v1/experiments/{id}` | [Get Experiment](https://docs.statsig.com/api-reference/experiments/get-experiment) |


## Errors

The table below lists potential error codes when adding a connection in DX.


| Error | Description |
|----------------------|------------------------------------------------------------------------------------------------------------------|
| `invalid_credentials` | Your API credentials entered are not valid. |
| `invalid_permissions` | Your API token does not have the permissions required by DX. |
---

## Sitemap

[Overview of all docs pages](/llms.txt)
