> 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/es/aplicaciones/b/brex/opcional-conecte-con-brex-usando-un-token-de-api.md).

# \[Opcional] Conecte 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="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2F21cTDhJ5uscCTDz5vAGz%2FBrex-CreateToken%20(1).png?alt=media&amp;token=fdaf1846-5add-49ba-bfa7-74f2c676f66a" 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="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FQrrVGy9r4nRtvdjb29Eh%2FBrex-Scopes%20(1).png?alt=media&amp;token=9e6b947e-1275-418f-b482-0aca12d44d86" alt="" width="375">

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

Cuando termines, vuelve a [Aplicaciones](https://app.violetlabs.com/apps/) en Violet (o [Aplicaciones](https://app.violetgov.com/apps/) en VioletGov), haz clic **Mostrar otras opciones de autenticación**, introduce tu token y haz clic **Conectar con token de API.**


---

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