> For the complete documentation index, see [llms.txt](https://doc.appflow.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.appflow.ai/docs/integrations/branch.md).

# Branch

***

Here is an instruction including Branch actions to work with this integration

1. Creating App Creating an app in the branch first. Note that there is a switch to change to "live: and test in the top left. The key and setting will be different between live mode and test mode.
2. Setting Android\
   It needs to set the Android URI Scheme , Custom URL, Package Name and Fingerprints.

<figure><img src="/files/jzD7JAlwTq3lIP1Xjpbz" alt=""><figcaption></figcaption></figure>

3. Setting iOS\
   It needs to set the iOS URI Scheme , Custom URL and Bundle Identifiers.

<figure><img src="/files/aleKK4oGQjmYVEKBZSH0" alt=""><figcaption></figcaption></figure>

4. Checking Integration Status

<figure><img src="/files/HliwrOfbyHZPGpesMVzm" alt=""><figcaption></figcaption></figure>

5. Creating Tracking Link\
   We chose the App Only type Ad Link in Branch.

<figure><img src="/files/JbxTPpVUSUI5zaGkNYAF" alt=""><figcaption></figcaption></figure>

6. Go to Appflow\.ai and add a key for Branch to enable integration\
   Settings - Manage apps - Choose app - Edit app - Branch

<figure><img src="/files/ZZD0qe6Vt9X0oMAGarQC" alt=""><figcaption></figcaption></figure>

7. Check the Menu LiveView and select the filter custom event

   <figure><img src="/files/NerFQRIF6gUbqT9oyPPI" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.appflow.ai/docs/integrations/branch.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
