Amplitude Data's Braze integration lets you send your Amplitude cohorts to Braze with just a few clicks.
Considerations
- You must enable this integration in each Amplitude project where you want to use it.
- For more details on using this integration in Braze, go to the Braze documentation.
- You must have a Braze account.
- After a user is identified in Braze, Amplitude must refer to them by their
external_id instead of their device_id due to Braze requirements. Amplitude recommends setting up two syncs to the destination for each cohort to circumvent this limitation. One sync mapping device_id and one sync mapping user_id. By doing this, Amplitude always attempts to add or remove users through their external_id, if it exists, as well as their device_id.
Prerequisites
To configure a cohort integration from Amplitude to Braze, you need the following information from Braze:
-
Data Import Key (Braze REST API key)
- In Braze, click Partner Integrations then click Amplitude and Generate New Key.
The Data Import Key is the Braze REST API key mentioned in Braze's documentation.
- Go to Braze documentation for more detail.
-
Endpoint: the endpoint for the REST operations
- In Braze, click Partner Integrations and click Amplitude.
- It looks like:
https://rest.iad-##.braze.com.
- Go to the Braze documentation to find your endpoint.
Amplitude setup
- In Amplitude Data, click Catalog and select the Destinations tab.
- Select the Cohort type and then click Braze.
(Optionally) use the search bar to search for Brase.
- Click Add Destination.
- Select your endpoint and paste your Data Import Key.
- Select the Amplitude and Braze properties to map users to.
- If you select User alias as the target object, add a User alias label. Otherwise, leave it empty.
- When finished, click Save.
Send a cohort
To sync your first cohort, follow these steps:
- In Amplitude, open the cohort you want to sync, then click Sync.
- Select Braze, then click Next.
- Choose the account you want to sync to.
- Choose the sync cadence. Select One-Time Sync, Scheduled Sync, or Real-Time sync. For more information about cohort syncing, go to Sync to third-party destinations.
- When finished, save your work.
Set up multiple API key targets
Multi-key support lets you configure multiple Braze API keys for each Amplitude project and direct each cohort sync to a specific target. This is useful when your organization manages multiple Braze instances, regions, or accounts from a single Amplitude project.
Add a key
- In Amplitude Data, go to Catalog > Destinations and select your Braze cohort sync connection.
- In the destination setup modal, click Add Another Key.
- Enter a name for the target (for example, "US Production" or "EU Staging").
Note
You can't modify the name of the target after it's saved. If you want to change the name after creation, you must delete the target.
- Paste the Braze REST API key and select the REST endpoint for this target.
- Select the user mapping property for this target:
- user_id: Maps the Amplitude user ID to the Braze
external_id. Use this for identified users.
- device_id: Maps the Amplitude device ID to the Braze device ID. Use this for anonymous users.
- User alias: Maps users by a custom alias. If you choose this option, enter a User alias label.
- Click Save.
Repeat these steps for each additional key you want to add.
Select a target when creating a sync
When you create a new cohort sync, Amplitude asks you to choose which target to send the cohort to. Select the named target that corresponds to the Braze instance you want to reach.
Note
Each sync sends a cohort to one target. To send the same cohort to multiple targets, create a separate sync for each target.
Backward compatibility
If you set up the Braze integration before multi-key support became available, your existing configuration continues to work without any changes. Amplitude assigns your original key a target named "Default" and assigns all existing sync jobs to that target automatically. You can add new targets alongside your original key at any time.
Use the cohort in Braze
- In Braze, navigate to Audience and click Segments.
- Click Create Segment and name your segment.
- Under Add Filter, select Amplitude Cohorts and choose the cohort you created and synced from Amplitude.
- After saving, you can reference this segment during Canvas or campaign creation in the targeting users step.
Email notifications
Amplitude automatically sends email alerts for cohort sync jobs:
- Success notifications: Amplitude sends a confirmation when your cohort sync to Braze completes successfully.
- Failure notifications: Amplitude alerts you when a sync job fails so you can address any issues promptly.
Troubleshooting
I don't see a list of users in Braze
When you sync a cohort, Braze matches users in that cohort with users that already exist in Braze and doesn't create new users. Ensure users in your Amplitude cohort have a matching user (userId) in Braze.