---
title: "BankBridge with OpenAI AgentKit"
slug: bankbridge-with-agentkit
url: https://bankbridge.money/guides/bankbridge-with-agentkit
category: how-to
published: 2026-04-23
updated: 2026-04-23
---
# BankBridge with OpenAI AgentKit

> Add BankBridge to OpenAI AgentKit once, then ask it about your real bank accounts, transactions, subscriptions, and investment holdings. Every question live-fetches in real time — nothing is cached. $5/mo per connected bank.

BankBridge with OpenAI AgentKit — setup + prompts | BankBridge 

[How-to](/guides/how-to)

# BankBridge with OpenAI AgentKit

Updated Apr 23, 2026·2 min read

Add BankBridge to OpenAI AgentKit once, then ask it about your real bank accounts, transactions, subscriptions, and investment holdings. Every question live-fetches in real time — nothing is cached. $5/mo per connected bank.

## Setup

Paste the config below into `openai-agents SDK`. Swap the placeholder key for your real `bbk_` key from [your dashboard](/dashboard/settings).

```
import { Agent, MCPServerStreamableHttp } from "openai-agents";

const bankbridge = new MCPServerStreamableHttp({
  url: "https://bankbridge.money/api/mcp",
  headers: {
    Authorization: `Bearer ${process.env.BANKBRIDGE_API_KEY}`,
  },
});

const agent = new Agent({
  model: "gpt-4.1",
  mcpServers: [bankbridge],
});

const result = await agent.run("How is my spending trending?");

// export BANKBRIDGE_API_KEY="bbk_your_api_key_here"
```

The [full doc page](/docs/agentkit) for OpenAI AgentKitauto-fills your real key when you’re signed in.

## Three prompts to try

-   > “List my bank accounts and current balances.”
    
-   > “How much did I spend on food this month?”
    
-   > “What are my recurring subscriptions?”
    

## If it doesn’t work

Check the [OpenAI AgentKit doc page](/docs/agentkit) for the Troubleshooting section. 90% of first-time failures are either a missing `Bearer` prefix (note the space) or a placeholder key that didn’t get replaced with a real one.
