# Brex

## Connection Requirements

{% stepper %}
{% step %}

### Domain

The domain of the Brex API.

{% hint style="info" %}
Default:\
platform.brexapis.com
{% endhint %}
{% endstep %}

{% step %}

### API Token

To start making calls to Brex APIs, you must generate a user token from your Brex dashboard.

First, sign in to <https://dashboard.brex.com> as an account admin or card admin.\
Navigate to **Developer > Settings** and click **Create Token**.

Choose a clear name for your token and select the required data access level.\
Make sure to enable the **Users** scope, as it is needed for user-related API requests.

On the next confirmation screen, review your selections carefully and select **Allow Access**.

Your user token will now be created. Copy and store the token securely — Brex will not show it again after this point.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Please perform a connection test to ensure there is a valid connection to the Brex host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.octoxlabs.com/adapters/adapters/brex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
