> ## Documentation Index
> Fetch the complete documentation index at: https://statsig-4b2ff144-mintlify-add-local-eval-country-note-96362.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# mParticle

## Overview

Enabling the [mParticle](https://www.mparticle.com/) integration for Statsig allows Statsig to receive events from mParticle.

You can find all events that Statsig receives from mParticle in the [Metrics](/metrics) tab in the Statsig console. Statsig will automatically include these events in [Pulse](/pulse/read-pulse) and [Experiment](/experiments-plus/monitor) results for your feature gates and experiments respectively.

## Configuring Incoming Events

1. From the [API Keys](https://console.statsig.com/api_keys) tab in the Statsig console, copy the Statsig `Server Secret Key`.
2. Use your Statsig `Server Secret Key` to configure a Statsig Event Integration via mParticle's integrations directory.

### Mapping User IDs

In order to associate your mParticle events with your Statsig Feature Gates or Experiments, you must use mParticle's [IDSync framework](https://docs.mparticle.com/guides/idsync/introduction/) to ensure your mParticle events pass along the same user IDs used with the Statsig SDK.

## Configuring Outbound Events

To export your Statsig events to mParticle:

1. Go to your mParticle account and choose `Setup` then `Inputs` on the left-hand column to start configuring your integration.
   <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-add-local-eval-country-note-96362/jdEaqc2Kt0WpKjz_/images/integrations/data-connectors/mparticle/155385379-f111a536-d8e4-4ca6-ad37-47d926c254b9.png?fit=max&auto=format&n=jdEaqc2Kt0WpKjz_&q=85&s=a2ad0fe3536bd87a8d4263237b90c6e5" width="200px" alt="mParticle navigation drawer highlighting the Setup to Inputs path" data-path="images/integrations/data-connectors/mparticle/155385379-f111a536-d8e4-4ca6-ad37-47d926c254b9.png" />

2. Click on the `Feeds` tab within the page that loads, click on `Add Feed Input` button, and then search for `Statsig` and click on the option.
   <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-add-local-eval-country-note-96362/jdEaqc2Kt0WpKjz_/images/integrations/data-connectors/mparticle/155385384-b75e327d-96e8-49fc-8cb0-07516f5d3c79.png?fit=max&auto=format&n=jdEaqc2Kt0WpKjz_&q=85&s=4ab656e033327705442542688ada8ad2" alt="Add Feed Input dropdown with Statsig option selected" width="2416" height="292" data-path="images/integrations/data-connectors/mparticle/155385384-b75e327d-96e8-49fc-8cb0-07516f5d3c79.png" />

3. Provide a name for your `Statsig Feed` and click `Save`.
   <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-add-local-eval-country-note-96362/jdEaqc2Kt0WpKjz_/images/integrations/data-connectors/mparticle/155385386-aa982102-63ff-4f1a-905d-9889684cf3ae.png?fit=max&auto=format&n=jdEaqc2Kt0WpKjz_&q=85&s=ab05b2d3d6594cf8506973338ceadf12" width="400px" alt="Statsig feed configuration form showing name field and active toggle" data-path="images/integrations/data-connectors/mparticle/155385386-aa982102-63ff-4f1a-905d-9889684cf3ae.png" />

4. Copy the `Server to Server Key` and `Server to Server Secret` for the next step.

5. Log into the Statsig console and navigate to the [**Integrations**](https://console.statsig.com/integrations) page.

6. Click on the `mParticle` card and switch to the `Outbound` tab. Paste the `Server to Server Key` and `Server to Server Secret` in their respective boxes and **Enable** the integration.
