# Braze

## **Setup**

1. Go to: `Settings → 3rd Party Sources → Cohort Export`
2. Click the ✎ icon next to **Braze**
3. Fill in the fields:
   * **REST API Key** – found in `Developer Console → API Settings` in the Braze Dashboard
   * **Endpoint URL** – varies by data center. You can confirm your endpoint in `Settings → API Settings`\
     Example values:

     * `https://rest.iad-01.braze.com` (US East)
     * `https://rest.fra-01.braze.eu` (EU)
     * `https://rest.sjc-01.braze.com` (US West)

     For help finding these credentials, [see Braze documentation](https://www.braze.com/docs/api/home).<br>
4. Click `Save` to apply.

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2Fq4rulXqUyu2BMp9p74bX%2FScreenshot%202025-07-23%20at%2014.18.10.png?alt=media&#x26;token=98762b29-c461-40c3-9261-25e80b30909c" alt=""><figcaption></figcaption></figure>

*To disable the integration, turn off the toggle.*

### **User Identifier**

* Set a [custom property](https://docs.devtodev.com/integration/integration-of-sdk-v2/setting-up-events/user-profile#custom-user-property) in devtodev: `braze_id`. This identifier ensures accurate tracking and segmentation of users during data export.
* `braze_id` must match the **Braze user ID:** a unique user identifier that is set by Braze, see [Braze documentation](https://www.braze.com/docs/api/basics/#user-ids).
* Make sure this property is set before cohort export.

## How to prepare cohorts

Check out the **Tuning section** to learn [how to export the cohorts](https://docs.devtodev.com/reports-and-functionality/project-related-reports-and-fuctionality/tuning#cohort-export).&#x20;
