
[Statsig](https://statsig.com/) is a feature-management and product experimentation platform that helps you ship faster with actionable causal analysis, data insights, and the ability to run 10x more experiments.

## Considerations

Note the following when sending events to Statsig:

- Enable this integration in each Amplitude project that uses it.
- Amplitude matches the `user_id` to the id within Statsig to associate events. If a user with that ID doesn't exist in Statsig, Statsig creates one. Make sure that the Amplitude `user_id` field matches the Statsig id field to avoid user duplication.
- The limits for Statsig events are:
  - Maximum user identifier and event name: 64 bytes
  - Maximum size of metadata: 2048 bytes (stringified JSON)
  - Amplitude sends all user, event, and group properties along with the event.

## Set up the integration

### Statsig setup

To configure an Event Streaming integration from Amplitude to Statsig, you need the Server Secret Key from Statsig.

Refer to the [Statsig documentation](/feature-gates/implement/server#step-1-get-the-statsig-server-secret-key) for instructions to retrieve it.

### Amplitude setup

1. In Amplitude Data, click **Catalog** and select the **Destinations** tab.
2. In the Event Streaming section, click **Statsig**.
3. Enter a sync name, then click **Create Sync**.
4. Toggle Status from **Disabled** to **Enabled**.
5. Paste your Statsig **Server Secret Key**.
6. Toggle the **Send events** filter to select the events to send. You can send all events, but Amplitude recommends choosing the most important ones.
7. When finished, enable the destination and save.
