# Brex Integration

## Resmo + Brex Integration Fundamentals

<figure><img src="/files/Oxxf6zH24PJQIkjfaH08" alt=""><figcaption></figcaption></figure>

Resmo Brex integration helps you gain visibility over your Brex resources, like companies, departments, and users, while keeping your environment secure and compliant.

### What does Resmo offer to Brex users?

* Collect your Brex assets like users, locations, departments, and companies in a single asset directory.
* Query your resources using SQL or free text search.
* Automate your security and compliance checks with managed or custom rules.
* Receive notifications when there is a rule change.
* Keep track of resource and configuration changes.

### How does the integration work?

Resmo uses API to do the initial polling and collect existing resources. Following the initial polling, it receives updates and changes in real-time through webhook and regular polling.

#### Available resources

{% embed url="<https://resources.resmo.com/brex>" %}

## Integration walkthrough

### How to install

1. Select Brex on your Integrations page on Resmo.
2. Click the Add Integration button at the bottom right corner of the opening modal.
3. Log in to your Brex account on a new tab on your browser.
4. Go to **Create Token** under the **Developer -> Settings** page.

<figure><img src="/files/Srg8qwZ8zYBSeEa5QpWR" alt=""><figcaption></figcaption></figure>

5. Create and copy the Read-only Auth Token from your Brex account. Required scopes:

{% hint style="info" %}

* Users Read
* Locations Read
* Departments Read
* Companies Read
  {% endhint %}

<figure><img src="/files/ucBbA99C6KO7rWAEoVm3" alt=""><figcaption></figcaption></figure>

6. Paste it to the API Token field on the setup page.

<figure><img src="/files/rGnx6EpskF1sq8eMJvHs" alt=""><figcaption></figcaption></figure>

7. Hit the Create button.
8. That's it! Now you can start querying your Brex resources.

### How to uninstall

1. Select Brex on your Integrations page.
2. Navigate to the Connected Integrations tab on the opening modal and select the Brex integration you wish to remove.
3. To temporarily pause your Brex integration, click the Disable button. You can also permanently uninstall it by clicking the Delete button.&#x20;

<figure><img src="/files/j717JWBfUUudiAItf47e" alt=""><figcaption></figcaption></figure>


---

# 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://resmocom.gitbook.io/product/integrations/brex-integration.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.
