How-to

BankBridge with Vertex AI

2 min read
Add BankBridge to Vertex AI 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 google-genai SDK. Swap the placeholder key for your real bbk_ key from your dashboard.

from google import genai
from google.genai import types

client = genai.Client(vertexai=True, project="your-project", location="us-central1")

response = client.models.generate_content(
    model="gemini-2.0-flash",
    contents="How much did I spend on restaurants last month?",
    config=types.GenerateContentConfig(
        tools=[
            types.Tool(
                mcp=types.McpTool(
                    endpoint="https://bankbridge.money/api/mcp",
                    headers={"Authorization": "Bearer bbk_your_api_key_here"},
                )
            )
        ]
    ),
)
print(response.text)

The full doc page for Vertex AIauto-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 Vertex AI doc page 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.