Skip to content

Use Plaid to let people link their bank accounts in your app, and then show their accounts, balances and transactions. Each person links their own bank in Plaid Link, Plaid’s own screens, so their bank password never passes through your app. To connect, you need the client ID and a secret from your Plaid account.

Connect Plaid

Plaid gives your team one client ID and a separate secret for each environment: the Sandbox secret works with test banks, and the Production secret works with real ones. FlutterFlow detects which secret you paste. Start with the Sandbox secret while you build.

To connect Plaid:

  1. Open Project Settings › Connections, and then turn on the switch for Plaid.
  2. In the Connect Plaid dialog, paste your client ID into Client ID and your Sandbox secret into Secret. Find it opens the keys page in the Plaid Dashboard.
  3. Click Connect.

For more about connecting, see Connect a service.

What to ask

Ask the agent for the screen you want and the bank details that it shows for the signed-in person:

Example request

Add a Bank accounts screen where a signed-in person links their bank with Plaid, and then sees each account with its name, the last digits of its number and its balance.

Example request

Add a Spending screen that shows the signed-in person’s bank transactions from Plaid for the last 30 days, grouped by category.

Example request

Add an Unlink bank button to the Bank accounts screen that removes the person’s linked bank from Plaid.

The balances on an accounts list are the ones that Plaid last fetched, which can be hours old. If your app needs a balance that the bank reports right now, such as before a purchase, ask for current balances. Each current balance takes a few seconds, and Plaid bills for each one in Production.

Agent questions

If Plaid isn’t connected, the agent asks you to connect it in a card above the message box. See Connect when the agent asks.

Review

After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.

After you push a backend change, check the result in Backend.

Test on a phone

Plaid Link is made for phones, and it might not open in the preview. To test linking a bank, use a test build on your phone. See Phone apps.

  1. Make sure Plaid is connected with your Sandbox secret.
  2. In your test build, open the screen that links a bank, and select any test bank in Plaid Link.
  3. Sign in to the test bank with the username user_good and the password pass_good.

After a bank is linked, showing its accounts works in the preview too. Plaid can take from a few seconds to a few minutes to fetch a newly linked bank’s transactions, so a transactions screen can be empty at first.

Push

When the result is ready, push the changes to your app.

Production

When you’re ready for real banks, replace the Sandbox secret with your Production secret:

  1. Open Project Settings › Connections.
  2. Click Plaid’s menu, and then select Replace secret.
  3. Paste your client ID into Client ID and your Production secret into Secret, and then click Replace secret.

Plaid’s card then shows Live account. When you switch, the test banks linked with the Sandbox secret are unlinked.

With a live account, the agent asks for approval of every call that it makes to Plaid, including calls that only read. In a thread that an owner started, the agent shows that owner an Approval card for each call. In a thread that someone else started, the agent can’t call Plaid. See Answer an Approval card.

Next steps

  • To replace a secret or disconnect Plaid, see Manage connections. When you disconnect Plaid, every bank that people linked in your app is unlinked.

Troubleshooting

For a refused secret or a connection that needs attention, see Troubleshoot connections. If Plaid Link won’t start in your app, check in the Plaid Dashboard under Developers › API that your app’s redirect URI or Android package name is allowed, and that your Plaid team can use the countries that your app offers.