This topic explains how to create and test an mParticle destination for Data Export.
mParticle is a customer data platform that allows you to aggregate your analytics and create customer cohorts.
To set up an mParticle destination in LaunchDarkly, you need:
The key and secret are available in your mParticle account. Copy and save both strings. You’ll need them to connect mParticle to LaunchDarkly.
Here is an image of the mParticle API keys dialog:

You can use the LaunchDarkly UI to create and modify destinations for Data Export.
To create an mParticle destination in LaunchDarkly:
You cannot change an environment after you create the destination. If you wish to export event data from a different environment, you must set up another destination.
The user identifier you choose must match an identifier you chose to identify users in the mParticle ecosystem.
Every event LaunchDarkly exports has a context key specified by the SDK. The user identifier should correspond to the mParticle user identity your SDK context key represents. For example, if your context key represents a customer ID, you should choose customer_id as the user identifier.
To learn more about exported events, read Streaming Data Export schema reference.
The mParticle destination appears in the “Your data export destinations” section of the Integrations screen.
After you save the destination, send a test event to confirm that the destination is configured properly.
To send a test event:
These example events display the structure of the events LaunchDarkly sends to mParticle.
LaunchDarkly sends events in the following formats:
After you create a Data Export destination, you must start sending flag or environment event data to it. You can enable Data Export for individual flags, or for all the flags in an environment.
To learn more, read Export event data for flags and environments
You can delete a Data Export destination from the Integrations screen.
To delete a destination: