Skip to main content
Plaid integration currently only works for Western users. Plaid Production support is not available to European users.
For Plaid integration your Sure instance needs to be accessible by the internet behind a domain with working SSL. See additional context in maybe-finance/maybe#2419.

Create Your Plaid Account

Go to https://dashboard.plaid.com and register for a new account.

Requesting Access Based on Your Bank Type

1

Request Access

  1. On the Home page, find the section labeled “Learn how to build with Plaid” and click Unlock real data.
  2. Enter your real name and phone number.
  3. In the description box, write a statement such as:
    This is for personal use only on a self-hosted version of the Sure Finance software. 
    I am only using it to manage my finances, sync my bank accounts, track my spending, 
    and create a budget.
    
  4. Leave the “Additional products” section unchecked.
  5. Click Request Access.
2

Wait for Approval

Wait for your request to be approved (this may take more than 24 hours).

Setting Up Sure to Use Plaid

1

Configure Allowed Redirect URIs

  1. After your Plaid account is registered, go to https://dashboard.plaid.com/developers/api or click Developers > API in the sidebar
  2. Click Configure next to Allowed redirect URIs
  3. Click Add new URI, type your domain, and add /accounts at the end Example: https://budget.yourdomain.com/accounts
  4. Click Save changes
2

Get Your API Keys

  1. Go to https://dashboard.plaid.com/developers/keys or click Developers > Keys in the sidebar
  2. Copy your client_id and secret keys
  3. Use the “Production” secret key
3

Add Environment Variables

In your docker-compose.yml file, below the OPENAI_ACCESS_TOKEN: ${OPENAI_ACCESS_TOKEN} line, add these lines:
PLAID_CLIENT_ID: ${PLAID_CLIENT_ID}
PLAID_SECRET: ${PLAID_SECRET}
PLAID_ENV: ${PLAID_ENV}
In your .env file (next to your docker-compose file), add these lines:
PLAID_CLIENT_ID=ENTER_CLIENT_ID_FROM_PLAID_HERE
PLAID_SECRET=ENTER_SECRET_KEY_FROM_PLAID_HERE
PLAID_ENV=production  # use 'production' for Full/Limited Production Access, or 'sandbox' for Sandbox Access
4

Restart Sure

docker compose restart

Verify Integration

Once you access your Sure instance from your domain, you should now see the Link account option in the Sure UI.
Start with Plaid’s Sandbox environment (PLAID_ENV=sandbox) to test the integration before requesting production access.

Build docs developers (and LLMs) love