API:
- Log on to YNAB
- Go to My Budget > My Account > Developer Settings
- Click on New Token
- Enter your password and click Generate
- Copy the token that appears at the top of the page
Budget ID:
The budget ID is the combination between the slashes after the URL https://app.youneedabudget.com If you only have one budget, you can omit the budget option, if you have multiple budgets pick a budget you want the sensor to report on. At this time only 1 budget is retrieved.