-
Notifications
You must be signed in to change notification settings - Fork 137
Getting Started
There are 2 ways to run Fintech to YNAB, with webhooks and without webhooks. If you wish to use webhooks, then YNAB needs to be hosted on the internet on something like Heroku.
First of all, you need will to acquire a YNAB Personal Access Token. You will need this later on to add to the environment variables.
If you just want to use imports and not webhooks from Monzo, then you can just run this locally. You will need Ruby installed, and be able to use Git
- Clone the Git repo (
git@github.com:scottrobertson/fintech-to-ynab.git
) - In that directly, run
bundle install
to install all the dependencies - Rename
.env.example
to.env
, and setup all the values you need from below. - Once you have done that, enter the Rails Console but running
rails c
Once you are into the console, you can run all the import scripts need need. Check the README for those instructions (there are instructions for each bank).
The easiest way to install Fintech to YNAB with Webhooks is by using Heroku.
- Click this link to launch the app on Heroku
- Give the app a name. For example: "scott-fintech-to-ynab"
- Setup the Environment Variables when prompted
Please check the README.md for instructions on how to import your bank's transactions.
- URL_SECRET: This is a secret used for the webhooks endpoint. See here for details.
- YNAB_ACCESS_TOKEN: Your YNAB access token (Get it here)
- YNAB_BUDGET_ID: Optional: Default budget ID. If not provided, we will use the first account.
- YNAB_ACCOUNT_ID: Optional: Default account ID. If not provided, we will use the first account.
This is used to verify that the webhook is coming from your bank. To use it, please set the URL_SECRET environment variable to a random string, and then append ?secret=THAT_STRING
to the webhook URL when adding it to your bank.