> ## 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.

<img src="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" style={{maxWidth: "450px" }} width="1143" height="3073" data-path="api-integrations/brex-api-key/auth-create-token.png" />

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

<img src="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" style={{maxWidth: "450px" }} width="1076" height="922" data-path="api-integrations/brex-api-key/auth-allow-access.png" />

6. Your token is now created.

<img src="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" style={{maxWidth: "450px" }} width="1150" height="744" data-path="api-integrations/brex-api-key/auth-token.png" />

#### 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.

<img src="https://mintcdn.com/nango/4rsGaWf0-4hrnYkt/api-integrations/brex-api-key/form.png?fit=max&auto=format&n=4rsGaWf0-4hrnYkt&q=85&s=4e993e40503ba58f4ef8a801881df151" style={{maxWidth: "450px" }} width="996" height="1378" data-path="api-integrations/brex-api-key/form.png" />

You are now connected to Brex (API Key).
