> For the complete documentation index, see [llms.txt](https://docs.devtodev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devtodev.com/3rd-party-sources/cohort-export/braze.md).

# Braze

Export cohorts to Braze to use in campaigns or messaging flows

## **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&amp;token=98762b29-c461-40c3-9261-25e80b30909c" alt=""><figcaption></figcaption></figure>

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

### **User Identifier**

* Set a [custom property](/integration/integration-of-sdk-v2/setting-up-events/user-profile.md#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](/reports-and-functionality/project-related-reports-and-fuctionality/tuning.md#cohort-export).&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devtodev.com/3rd-party-sources/cohort-export/braze.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
