Create the Cloudflare API token
The exact permission rows, account and zone settings for the installer's Cloudflare token, with and without a domain.
Updated 2026-10-17
The token is a password with limited rights. It lets the installer create the Ledger in your Cloudflare account. You delete it after the install.
Open the token page
- Open dash.cloudflare.com/profile/api-tokens in a new tab. Keep the installer open.
- Click Create Token.
- Scroll to the bottom of the list of templates. Find Custom token and click Get started.
- Token name: anything, for example
Ledger install.
Add the permission rows
Each row has three boxes: the type (Account or Zone), the permission, and the level (Read or Edit). The first row is there already. Click + Add more for each next row.
Add these six rows:
- Account | Workers Scripts | Edit
- Account | D1 | Edit
- Account | Workers R2 Storage | Edit
- Account | Access: Apps and Policies | Edit
- Account | Access: Organizations, Identity Providers, and Groups | Read
- Account | Account Settings | Read
Only if your account has a domain, add three more:
- Zone | Zone | Read
- Zone | Workers Routes | Edit
- Zone | DNS | Edit
How to tell if you have a domain: on dash.cloudflare.com, the Domains list (on older menus, Websites) shows it. A new account has none.
Account and zone resources
- Below the permissions, under Account Resources, choose Include, then the business's account.
- Zone Resources shows up only after you add a Zone row. With a domain: Include, then Specific zone, then the domain the Ledger will use. Without a domain you added no Zone rows, so this part does not show. Skip it.
- Client IP Address Filtering and TTL: leave empty.
Create and copy
- Click Continue to summary, then Create Token.
- Click Copy next to the token. Cloudflare shows it once. If you lose it, create a new one the same way.
- Paste it in the installer and click Check token.
If Check token fails
- A permission is missing: the message names it. Edit the token on the token page, add the row, save, and click Check token again. The token value stays the same.
- Wrong account: the token's Account Resources points at a different account. Edit it and pick the right one.
- Pasted with a space: copy it again with the Copy button.
- Zero Trust or R2 not on yet: finish step 1 of the installer first.
Still stuck? Write to us from the pricing page.
More help
- Before you install: what you need
- Install Open Ledger IL step by step
- First sign-in and setup
- Give your accountant or assistant access
- Connect to the Tax Authority for allocation numbers
- From quote to receipt: your first documents
- Take payments with Grow, Cardcom or another provider
- Get your expenses into the Ledger
- Send documents by email, and keep them out of spam
- Connect Claude or another AI app (MCP)
- Add or change a key after the install
- Updates and backups
- Common problems and how to fix them