# \[Opcional] Conectar con Brex usando un token de API

Si prefieres conectar Brex usando un Token de API, sigue las instrucciones a continuación:

### Genera un Token de API en Brex

1. En Brex, navega a [**Configuración de la empresa -> Desarrollador**](https://dashboard.brex.com/settings/developer) y haz clic **Crear Token.**

<img src="/files/f091c88952948b2d54deea941b6a74e9065fb1d2" alt="" width="563">

2. Introduce un nombre para tu token y marca “Leer/Escribir” para todos los ámbitos disponibles, y “Leer” para todos los demás. (Aunque actualmente no soportamos todos estos endpoints, esto hará que tu token sea compatible con cualquier característica futura que lo requiera).

<img src="/files/35c1aeba48c090ca33c1d3cd57541994bdf99d27" alt="" width="375">

3. Haga clic en **Crear Token** y cópialo en tu portapapeles.


---

# 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.violetlabs.com/es/aplicaciones/b/brex/opcional-conectar-con-brex-usando-un-token-de-api.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.
