Skip to content
Scott Robertson edited this page Aug 18, 2018 · 2 revisions

To be able to import your transactions into YNAB, you will need to fetch the corresponding YNAB account ID for the bank account you are trying to import.

There are 2 ways to get your YNAB account id:

CLI

Once you have the app setup from the Getting Started guide, run the following to get a list of YNAB account ids.

./bin/import accounts

YNAB Web App

You can get your YNAB account by selecting your bank account in YNAB, and grabbing it from the URL. It's the last part of the URL:

https://app.youneedabudget.com/budget_id/accounts/[account_id]

You want the [account_id] part only.