Amplitude Integration
You can integrate Flagsmith with Amplitude. You can automate AB tests by connecting the Flagsmith platform with Amplitude. The process is as follows:
Integration Setup
- Get the Amplitude API key for your Amplitude project from the Amplitude Project page (Settings > Projects > Your Project > General tab)
- Add the Amplitude API key into Flagsmith (Integrations > Add Amplitude Integration)
- All API calls generated by the Flagsmith SDK to the
Get Identity Flags
endpoint will send the a full set of flag evaluations for that particular user to the AmplitudeIdentify
endpoint
Use Case
Once the integration has been set up, you can start segmenting your Amplitude identities based on the flags that they saw. This means you can run AB tests driven by Flagsmith segments, and have the data show up automatically in Amplitude.
Integration Notes
You have to identify users on both platforms in the same way. The Flagsmith Identity ID
must be the same as the Amplitude user_id
.