Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nYNAB API Import

Import records directly from the YNAB API using a Personal Access Token.

Unlike the nYNAB file import, this method connects to YNAB’s API so there is no need to manually export and upload a file.

Setup

  1. Generate a Personal Access Token in your YNAB account settings.
  2. In Surebeans: ☰ → ImportFrom nYNAB API…
  3. Paste your Personal Access Token.
  4. Select a budget from the dropdown list.
  5. Click Import.

YNAB API setup

New journal or incremental import

The API import supports two modes:

ModeWhen to use
Create new journalFirst-time import; builds a full journal from your YNAB budget
Add to existing journalIncremental import; adds new records to your current journal

To do an incremental import, open an existing journal first, then run the import. Surebeans will add any records that are not already present.

Stored settings

Your Personal Access Token and selected budget are saved locally so you do not need to re-enter them on subsequent imports.

What gets imported

See nYNAB Import - What gets imported for the full mapping between YNAB and Surebeans concepts.

Tips

  • The Personal Access Token is stored locally and never sent anywhere except the YNAB API.
  • Use incremental import to keep your Surebeans journal up to date without re-importing everything.
  • The YNAB API limits 200 web requests per hour. If you get errors, wait up to an hour and try again.