> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/apps/b/brex.md).

# Brex

Manage all your spend – corporate cards, expense management, reimbursements, travel, and bill pay – in one integrated system. Learn more at www\.brex.com.

### Connect Brex in Violet

1. In [Violet](https://app.violetlabs.com/) (or [VioletGov](https://app.violetgov.com/)), navigate to **Integrations** and click  <img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FtlFf29W81Xw97AUJ5zwb%2FScreenshot%202026-02-19%20at%201.13.34%E2%80%AFPM.png?alt=media&amp;token=c80f613a-d379-4cd4-a5c8-9c04e63e37ea" alt="" data-size="line">.
2. Select <img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FtY04HS4YLIrzi23mXa3N%2Fbrex.png?alt=media&amp;token=f196f1dd-6482-4c1a-a7e6-6624648ecde5" alt="" data-size="line"> **Brex**.

\[Optional] Assign permissions to which users or user groups can view the data or edit the credentials:

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FumnLeT1X9BphQ0dxFd3W%2FPermissions.png?alt=media&amp;token=23d4044c-065a-4201-91aa-122b94a19848" alt="" width="375"><figcaption></figcaption></figure>

3. Click **Connect with Brex** and log in using your Brex credentials.
   1. *If you prefer to connect using an API token instead, skip this and head to the* [*next page*](/apps/b/brex/optional-connect-to-brex-using-an-api-token.md)*.*
4. Once connected, you can configure which types of data to ingest, how frequently data should be refreshed, etc.&#x20;
5. Last, click **Create** to begin fetching data. You're done!


---

# 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.violetlabs.com/apps/b/brex.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.
