Run the Quickstart
A guide to get started building with Plaid
You’ll be using both your app’s server and client to add Plaid to your app. Here is an overview of how you’ll be using Plaid.
link_tokenand pass the temporary token to your app's client.
link_tokento open Link for your user. In the
onSuccesscallback, send the temporary
public_tokento your app's server.
public_tokenfor a permanent
item_idfor the new
access_tokenand use it to make product requests for your user's
Run the Quickstart app
Let’s test out running Plaid locally by cloning the Quickstart app. You’ll need API keys, which you can receive by signing up in the Dashboard. If you want to get started adding Plaid to an exsiting codebase, you can jump ahead to Adding Transactions to your app.
You’ll be running the web Quickstart which showcases the server and client-side pieces to a Plaid integration.
git clone https://github.com/plaid/quickstart.gitcd quickstart/node# Copy the .env.example file to .env, then fill# out PLAID_CLIENT_ID and PLAID_SECRET in .envcp .env.example .env# Install dependenciesnpm install# Start the backend app./start.sh
Now that you have the Quickstart running, you’ll add your first Item in the Sandbox environment. Once you’ve opened the Quickstart app on localhost, open Link and select any institution. Use the Sandbox credentials to simulate a successful login.
username: user_goodpassword: pass_good
Great! Once you’ve successfully added an Item, the Quickstart allows you to simulate product requests. We’ve started the app with
transactions, so only the Transactions product requests will work. Try adding other products to the run script with
PLAID_PRODUCTS=auth,transactions,balance to test them out.
Congrats! You’re all ready to dive right in to adding Transactions to an existing app.