GithubHelp home page GithubHelp logo

zianwar / plaid-get-token Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 114 KB

Server to retrieve Plaid Development token

License: MIT License

CSS 9.55% JavaScript 31.89% EJS 58.57%
plaid plaid-api token

plaid-get-token's Introduction

Server to retrieve Plaid Development token

This code was copied and adapted from: https://github.com/plaid/quickstart/tree/master/node

Disclaimer

This project was built for personal finance purposes, all the code does is talks to Plaid API and write tokens to your local file system. If you decided to use it, please be sure to go through the code yourself to make sure it does what it says in case you don't feel safe entering your bank credentials.

Usage

  • Sign up for Plaid and apply for the development plan (It's free and limited to 100 items (i.e. banks)). You might need to wait to get approved.

  • Once approved, fill out the following in .env from your Plaid dashboard:

    • PLAID_CLIENT_ID
    • PLAID_SECRET
    • PLAID_PUBLIC_KEY
  • Now you need to connect to your financial institutions to generate access tokens, run the following command:

npm run get-token <account_name> <output_token_path>
  • account_name: is a name for the bank you want to connect, it's for your personal reference, so you can name it anything.
  • output_token_path: a path where to store the retrieved token, e.g: ./token_chase.txt.

What the command will do is:

Start a local server at http://localhost:3333 which you can visit in your browser and go through the authentication flow. Once you've linked the bank, its associated access token will be saved in the path you provided <output_token_path>.
This process needs to be repeated for each bank you want to connect. Make sure to run each with a different account name.

  • After than you can use your access token, to talk with the Plaid API to retrieve your balance, transactions....

plaid-get-token's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.