> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-docs.mintlify.site/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-wari-migrated-bigcommerce-docs/R8TvGtExx5BifkNc/api-integrations/brex-api-key/auth-create-token.png?fit=max&auto=format&n=R8TvGtExx5BifkNc&q=85&s=cd808c1614d6d29596c8453fe2d04a74" 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-wari-migrated-bigcommerce-docs/R8TvGtExx5BifkNc/api-integrations/brex-api-key/auth-allow-access.png?fit=max&auto=format&n=R8TvGtExx5BifkNc&q=85&s=a18f5975e6c0579fdf2ea5a339ede9be" 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-wari-migrated-bigcommerce-docs/R8TvGtExx5BifkNc/api-integrations/brex-api-key/auth-token.png?fit=max&auto=format&n=R8TvGtExx5BifkNc&q=85&s=2ce9ca00c6fdd9bd4d5e8c5c9c483096" 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-wari-migrated-bigcommerce-docs/R8TvGtExx5BifkNc/api-integrations/brex-api-key/form.png?fit=max&auto=format&n=R8TvGtExx5BifkNc&q=85&s=9b0c3916a4385fed543157ed2f299e4d" style={{maxWidth: "450px" }} width="996" height="1378" data-path="api-integrations/brex-api-key/form.png" />

You are now connected to Brex (API Key).
