> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Brex (API Key) - How do I link my account?

## Overview

To authenticate with Brex (API Key), you will need:

1. **API Token** - A key that grants Nango permission to interact with Brex's API resources and services.

This guide will walk you through finding or generating the API Token within Brex.

### Prerequisites:

* You must have a registered Brex account with admin access

### Instructions:

#### Step 1: Finding Your API Token

1. **Log in** to your Brex [account](https://dashboard.brex.com/) as an [account admin or card admin](https://developer.brex.com/docs/roles_permissions_scopes).
2. Go to [**Developer** > **Settings**](https://dashboard.brex.com/settings/developer).
3. Click **Create Token**.
4. Create a **Name** for your token then choose what level of data access you need for your application; these are the [scopes](https://developer.brex.com/docs/roles_permissions_scopes) your token will have.

![](https://mintcdn.com/nango/4rsGaWf0-4hrnYkt/api-integrations/brex-api-key/auth-create-token.png?fit=max\&auto=format\&n=4rsGaWf0-4hrnYkt\&q=85\&s=6937f25f4901502fe42ac3a7ad71b84b)

5. The next screen will confirm your previous selections. Make sure it looks good, then click **Allow Access**.

![](https://mintcdn.com/nango/4rsGaWf0-4hrnYkt/api-integrations/brex-api-key/auth-allow-access.png?fit=max\&auto=format\&n=4rsGaWf0-4hrnYkt\&q=85\&s=23d984479af7d9f7a0c966b5da754c98)

6. Your token is now created.

![](https://mintcdn.com/nango/4rsGaWf0-4hrnYkt/api-integrations/brex-api-key/auth-token.png?fit=max\&auto=format\&n=4rsGaWf0-4hrnYkt\&q=85\&s=45f49318a9ef1a7a2f81f6bcf4cfdded)

#### Step 2: Enter credentials in the Connect UI

Once you have your **API Token**:

1. Open the form where you need to authenticate with Brex (API Key).
2. Enter the **API Token** in its designated field.
3. Submit the form, and you should be successfully authenticated.

![](https://mintcdn.com/nango/4rsGaWf0-4hrnYkt/api-integrations/brex-api-key/form.png?fit=max\&auto=format\&n=4rsGaWf0-4hrnYkt\&q=85\&s=4e993e40503ba58f4ef8a801881df151)

You are now connected to Brex (API Key).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.