Connect DigitalOcean
You need Personal access token. About two minutes.
1Get your Personal access token
Personal access token
dop_v1_…- Open API in the Control Panel menu, then the Tokens tab.
- Under Personal access tokens, click Generate New Token.
- Name it, pick an expiration and choose Read Only scope.
- Copy the token now: it is shown only once.
A read scope is enough. Reading the balance is free.
Open the pagehttps://cloud.digitalocean.com/account/api/tokens
2Add it to CreditBar
- Open CreditBar from the menu bar and choose Settings, then Accounts.
- Click Add account and pick DigitalOcean.
- Paste the Personal access token into the matching field, and give the account a label you will recognise.
- Click Test connection, then Add. Numbers appear in the menu bar within a minute.
Keys are stored in your Mac's Keychain and only ever sent to DigitalOcean. Nothing passes through a CreditBar server.
3What it reads
- Reports
- account balance and month-to-date usage
- Calls
- https://api.digitalocean.com/v2/customers/my/balance
- Refreshes
- At most every 5 minutes
- API docs
- DigitalOcean reference, checked 2026-09-16
Month-to-date usage lags real time by up to an hour, as DigitalOcean's own billing does.