← All integrations

Finance & ERP · Integration

Embed a Brex integration in your product

Add Brex to your product for your customers, and give your AI agents governed access to it.

Embed a Brex integration so your customers can manage their own cards, transactions, expenses, and budgets from inside your product, with governed agent access to the same records. Writes are idempotent, so a retry after a timeout does not create a duplicate record, and every call is logged per customer so a spend decision can be traced to the event that caused it. fastn handles each customer's OAuth and monitors the connector for Brex API changes, proposing a tested fix your team approves, so onboarding another Brex account is configuration rather than a release.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let customers connect their own Brex account and read card transactions into your product for coding and reporting.
  • Issue and update virtual cards with spend limits from your product so controls are set where the work happens.
  • Read and update expenses, receipts, and their memos so expense review happens without a tab switch.
  • Trigger your product when a transaction posts or a budget threshold is crossed.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent reads recent transactions and flags the ones missing a receipt or category.
  • An agent issues a limited virtual card for an approved purchase within governed permissions.
  • An agent reacts to a budget threshold event and notifies the budget owner.

Example prompt

List transactions over 500 from last month with no receipt attached and show the cardholder for each.

Set up Brex in 4 steps

  1. 01Open the Brex connector from your fastn dashboard.
  2. 02Have each customer authenticate their own Brex account with OAuth and least-privilege scopes.
  3. 03Map the transaction, expense, and budget fields your product uses, then enable actions and triggers.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the Brex integration

  • Ship a Brex integration without building it. Your customers connect their own Brex account inside your product and work their invoices, payments and vendors there, and nothing lands on your team.
  • Handle the part that actually costs time: financial writes must be idempotent and reconcilable, because a duplicate is an accounting problem rather than a bug. fastn handles the auth, token refresh, rate limits and pagination, and when Brex changes, its maintainer agent proposes a tested fix, so a Brex update does not start in your backlog.

Brex integration FAQ

Can AI agents use this Brex integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent reads recent transactions and flags the ones missing a receipt or category. For example: "List transactions over 500 from last month with no receipt attached and show the cardholder for each."

Is the Brex integration safe for financial writes?

Writes are idempotent, so a retry after a timeout does not post a document twice, and every call is logged per tenant so an entry can be traced back to the event that created it. That matters more in finance than anywhere else, because a duplicate is a number somebody has to explain.

Can it handle each customer's own chart of accounts?

Yes. ERP deployments are configured to the business, so account structures, required fields and fiscal calendars differ per customer. Those are mapped per tenant as configuration, not hard-coded.

What about Brex rate limits during a first import?

Backfills are throttled deliberately. ERP limits are often account-wide rather than per-integration, so an unthrottled import can exhaust a customer's allowance and disrupt their other integrations.

What can I build with the Brex integration?

A common starting point: connect their own Brex account and read card transactions into your product for coding and reporting. The use cases above list the rest.

Add Brex to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.