Plaid
Galene connects to banks through Plaid Link: you pick your bank and log in in Plaid’s hosted widget, and Galene exchanges the one-time public token for a long-lived access token.
Environments and plans
Section titled “Environments and plans”Plaid has two environments — Sandbox (free, mock data) and Production (live data) — and several ways to get Production access:
| Sandbox | Production (full) | Trial plan | Limited Production | |
|---|---|---|---|---|
| Cost | Free | Paid | Free | Free |
| Data | Mock | Real | Real | Real, with usage caps |
| Item limit | Unlimited | Unlimited | 10 Production Items | Capped |
| Approval | None | Required (a few business days) | Auto-approved for most developers | Required |
| Who it’s for | Building and testing without live data | Deploying | Trying real data before a paid plan | Legacy free tier for existing customers |
- Sandbox — free mock data for building and testing; all API and Link functionality, unlimited test Items. Plaid docs.
- Production (full) — live data; paid and requires approval (a couple of business days, with information about your company and how you plan to use the API).
- Trial plan — free Production access with real data, for most US/Canada developers on teams created on or after April 15, 2026 with no existing Production or Limited Production account. Most applications are auto-approved after identity verification. It includes up to 10 Production Items, with unlimited API calls against those Items; calling
/item/removedoes not free a slot. Included products: Auth, Transactions (incl. Refresh), Balance, Identity, Assets, Liabilities, Investments (incl. Refresh), Statements. OAuth to most major institutions is typically available 6–24 hours after approval. Upgrading from Trial to paid Production is one-way. Apply at dashboard.plaid.com/trial-plan. - Limited Production — the legacy free tier. As of April 15, 2026 there are no new US/Canada signups; existing customers keep access. It is not the default path for new users.
Plaid’s own write-ups: Sandbox, Production, Trial plan, and Limited Production compared, What is the Plaid Trial plan, and the billing page.
Connecting
Section titled “Connecting”-
Sign up at dashboard.plaid.com/signup and verify your email. If you are eligible for the Trial plan, complete the Trial plan application.
-
In the Plaid Dashboard, get your client ID and secret (Dashboard → Keys) for Sandbox and/or Production.
-
In Galene, go to Settings → Bank sync → Plaid and fill in:
- Client ID
- Client secret — leave blank to keep the stored one; it is never sent to the browser.
- Environment —
sandboxorproduction. - Sandbox instance — required for sandbox; your instance name from Plaid dashboard → Sandbox.
Press Save Plaid settings.
-
Press Connect with Plaid. Plaid’s hosted widget opens; pick your bank and log in. Galene exchanges the one-time public token for a long-lived access token and imports your accounts and transactions. Press Link another account to add more banks.
How your secret is handled
Section titled “How your secret is handled”The client secret never reaches the browser. Galene’s server creates a link token with Plaid’s /link/token/create, the widget returns a one-time public token, and the server exchanges it via /item/public_token/exchange for the long-lived access token that later syncs use. The client secret and the connection credentials are encrypted in the database when GALENE_SECRET_KEY is set.
With only a client ID (no secret), existing connected Items keep syncing, but you cannot start new Link connections. In sandbox, new Links also need the sandbox instance name.
Auto-sync
Section titled “Auto-sync”Plaid syncs at most every 15 minutes. Plaid rate-limits at 15 requests/minute per Item for /accounts/get and 30 for /transactions/get, and a Galene sync makes a few calls per linked bank, so 15 minutes is the shortest interval that stays comfortably inside those limits. You can also set a connection to Manual only and press Sync now when you want it.
Plaid settings are per user. Disconnecting a Plaid connection keeps the accounts and transactions already imported.
When a linked institution needs you to sign in again
Section titled “When a linked institution needs you to sign in again”A linked institution can stop syncing until you sign in again — for example after a password change, or when the institution is about to expire the connection. Galene syncs each linked institution on its own, so the others keep updating.
On Settings → Bank sync, that institution shows needs re-login and a Reconnect button. Reconnect opens Plaid Link for that same connection. Your existing account mappings and transaction history stay; Galene does not add a second copy of the institution. After you finish signing in, Galene syncs that institution automatically so the card returns to connected without pressing Sync now.
Reconnect is also available on a healthy institution, when you want to refresh the login without adding a second copy.
Per-institution sync status
Section titled “Per-institution sync status”Settings → Bank sync lists each linked institution under Already linked, and again on the institution card, with one of these states:
- connected — the last sync of that institution succeeded.
- needs re-login — Plaid needs you to sign in again (a password change, an expiring connection, or a revoked permission). Press Reconnect.
- choose accounts again — Plaid found no accounts to sync (
NO_ACCOUNTS). Press Reconnect and choose the accounts to share. Galene asks Plaid to show account selection for that existing connection. - temporarily unavailable — the institution or Plaid could not answer right now (the institution is down, or Plaid asked Galene to retry). Wait, then sync again. Reconnect is not shown for this state.
- error — Plaid returned another error. The list shows a short reason, including the error code when Plaid sent one that Galene does not recognize. You can press Reconnect, or try again later.
When some institutions fail and others succeed, the connection error names each failed institution, the plain-language reason, and the next step. Example: “Example Bank: Plaid found no accounts to sync. Reconnect it and choose the accounts to share.” Institutions that succeeded are still updated. If Galene cannot tell which institution failed, the message stays generic.
A later successful sync of that institution clears the error. The list returns to connected.
Linking the same institution again
Section titled “Linking the same institution again”Before Connect with Plaid or Link another account, Galene lists the institutions already on this connection and the state of each one. If one needs you to sign in, or to choose accounts again, the list says so and points you at Reconnect. A temporary failure says to wait.
If you finish Link for an institution that is already linked (same institution, and a matching account name and mask when those are known), Galene does not exchange the public token and does not import a second set of accounts. The page says This bank is already linked, with Reconnect for that institution.
An upgrade can leave an existing item without a stored institution id until the next sync. Before accepting a new Link, Galene asks Plaid for that id (/item/get) and saves it. If Plaid cannot answer, Galene still blocks a duplicate when the institution name matches and an account name matches, using the mask and subtype when those are stored. On startup Galene tries the same fill in the background. The public demo skips that fill.
This is a different login is for a second login at the same institution (another person, or another set of accounts). It resubmits the same public token and stores a separate item; the token is still valid because it was never exchanged. If that session was already used, Galene asks you to open Link again instead of showing the provider error.
When Link does not report the institution, Galene still checks after the exchange: it reads the new item’s institution and accounts, and on a match removes the new item at Plaid before storing anything. That check includes items that do not yet have a stored institution id. In that case This is a different login opens Link again so you can finish with a fresh session.
Delete an account and its transactions
Section titled “Delete an account and its transactions”Settings → Accounts → Delete still moves the account’s transactions to another account. Delete account and its transactions removes the account and every transaction on it, after you type the confirmation that includes the transaction count. Splits, tags, and sync-review rows for those transactions are removed with them. Scheduled items that pointed at the account lose that account. Other accounts are left as they are. This does not call Plaid to remove the institution; use Remove on Bank sync for that.
When one linked institution fails, the others keep syncing on their normal schedule. The connection only backs off the full hour when every linked institution failed.
Remove drops one linked institution after you confirm. Its imported accounts and transactions stay. The other linked institutions are left in place. Open Sync review items for that institution are closed.
On the public demo, Connect, Reconnect, Remove, and deleting an account with its transactions stay visible and do nothing — those actions are read-only there.