Data sources

Plaid: from Sandbox to Production

Plaid is OpenBursar's default data source: banks, cards and brokerages in one, with up to 24 months of history and categories. You start in Sandbox, which uses fake banks and works right away, and move to Production (your real accounts) on Plaid's free Trial plan.

  • TimeAbout 10 minutes for Sandbox, plus Plaid's review of your Trial plan application
  • CostFree on Plaid's Trial plan (up to 10 bank connections); check Plaid's pricing beyond that
  • NeedsA Plaid account
  • You'll finish withBanks, cards and brokerages syncing daily, with up to 24 months of history

Sandbox

  1. Create a free account at dashboard.plaid.com.
  2. In Plaid, open Developers → Keys and copy your client_id and your Sandbox secret.
  3. In OpenBursar, paste both on the setup page (or in Settings → Data sources), choose Sandbox (test banks, free) and click Test and save keys. OpenBursar checks the keys with Plaid and stores them encrypted.
  4. Click add a test bank instantly, or use Connect a bank or card and sign in to any test bank with user_good / pass_good.

What you should see now: a connection named "First Platypus Bank (test)" with several accounts. Sandbox transactions can take a few minutes to fill in.

Production

What you need first: a Plaid team created on or after April 15, 2026, in the US or Canada. Those teams can use Plaid's free Trial plan, which gives real Production data for up to 10 bank connections. Older teams, and anyone based in or serving the EU or UK, need a paid plan instead; see Plaid's billing page.

  1. In the Plaid dashboard, verify your email address, then apply for the Trial plan from the dashboard home page (or at dashboard.plaid.com/trial-plan). Ask for Transactions and Investments; both are included in the Trial plan. For a personal or household tool, say so. Approval is usually quick, but Plaid doesn't promise a time.
  2. Add the redirect address that banks such as Chase and Bank of America need when they sign you in on their own site. In Plaid, open Developers → API → Allowed redirect URIs and add:

    https://<your-site>/plaid/oauth-return

    The setup page shows the exact value with a copy button. Plaid may also ask you to finish its institution-registration steps for some banks.

  3. When your Trial plan is active, paste your Production secret in OpenBursar (setup page or Settings → Data sources), choose Production (real accounts) and click Test and save keys. No redeploy is needed.
  4. Connect your real accounts with Connect a bank or card or Connect a brokerage.
  5. Remove the Sandbox test bank in Settings → Accounts. Sandbox connections stop working once you switch.

The Trial plan allows 10 bank connections (Plaid calls each one an Item) for the life of your Plaid team. Removing a connection does not give the slot back, so removing and re-adding a bank uses up another one. After 10, Plaid asks you to move to a paid plan to add more.

Setting keys as environment variables instead

If you prefer, set PLAID_CLIENT_ID and PLAID_SECRET (and PLAID_ENV: sandbox or production) as Worker variables. They take effect only when both the client ID and the secret are set, and then they override the keys saved in the app; the key form is replaced by a note saying the keys come from environment variables. Cloudflare deploys a new version when you save an environment variable; if it doesn't, trigger a deploy. To use a different redirect address, set PLAID_REDIRECT_URI and register that one in Plaid.

What OpenBursar asks Plaid for

Each sync (daily, when Plaid sends a webhook, when you press Sync now, or when an agent calls refresh) uses:

  • /transactions/sync for new and changed transactions,
  • /accounts/get for balances,
  • /investments/holdings/get and /investments/transactions/get for brokerage accounts,
  • /transactions/recurring/get for recurring payments (skipped on a refresh). OpenBursar filters out stale streams and transfers, merges split-account subscriptions, and adds usage-based recurring vendors on top; see Connect your AI assistant.

It never calls /accounts/balance/get or /transactions/refresh, which Plaid bills per call. An agent's refresh runs at most once every 5 minutes.

Cost

Plaid bills per connected institution per month for Transactions, and separately for Investments. Check your plan's pricing in the Plaid dashboard.

Stuck, or found a mistake?

Ask in the Q&A and someone who runs OpenBursar will answer. If the guide itself is wrong or out of date, report it and we will fix the page.