AI Setup Guide

Point your AI at your books. Both stay on your machine.

Last updated September 2026 · Every command on this page was run for real before we published it

The short version: every SlowBooks Pro install ships a 545-operation local REST API, fully self-documenting at /openapi.json. There is nothing to apply for and no OAuth review to pass, because the API is on your computer, behind your password. Any agentic CLI that can make HTTP requests can set up, migrate, and operate your books without a single byte leaving your machine.
Claude Code Grok CLI OpenAI Codex CLI Gemini CLI anything that speaks HTTP

Built for Claude and Grok first, side by side; every other agent that speaks HTTP works too.

Why this is different

Every cloud accounting vendor's "AI integration" means a third party touching your books through their partner program: developer registration, OAuth screens, scopes reviews, and your ledger in their cloud the whole time. SlowBooks inverts the entire arrangement. The app already runs a local web server for its own UI, and the same server publishes the full API. Your AI talks to 127.0.0.1. The books, the AI session, and the credentials are all on hardware you own.

SlowBooks already ships bring-your-own-key AI analysis (8 providers, Anthropic Claude and xAI Grok among them, self-hosted included) for reading your numbers. This page is the next level: letting an agent operate the software.

The five-minute setup, done by your agent

Install SlowBooks, open it once, and set your operator password. That's the one step a human should always do. Then open your agentic CLI and paste this:

You're helping me set up SlowBooks Pro, a local accounting app at
http://127.0.0.1:3001. The API is self-documenting: GET /openapi.json.
Auth: I'll give you an API token (made in Settings -> API Tokens);
send it as "Authorization: Bearer sbp_..." on every request. (Session
login with the operator password also works — plus a username if the
install has more than one user — but the token is scoped and
audit-attributed, so prefer it.) First-run setup is already done.

1. Discover the API from /openapi.json before calling anything
   (send the token there too; on v2.5.2 and earlier the spec
   itself requires auth; GET /api/auth/status is the only
   unauthenticated probe).
2. I'm migrating from [MYOB / Xero / Sage 50 / Wave / Zoho Books /
   GnuCash]. Tell me exactly what to export from it, then use
   POST /api/migration/{source}/dry-run and only call /import after
   the dry-run returns ok=true with zero errors.
3. Verify the books: GET /api/reports/trial-balance with start_date
   and end_date covering the imported data's dates. Total debits
   must equal total credits. Show me both numbers.
4. Configure the basics via PUT /api/settings - company address,
   invoice prefix, default terms. Ask me for real values.
5. Finish with a one-paragraph summary of my profit & loss for the
   imported period (GET /api/reports/profit-loss).

Never delete anything. If an endpoint errors, show me the response
verbatim instead of improvising.

What that actually looks like

We ran exactly that flow against a fresh install, migrating the classic MYOB "Clearwater" sample company. This is the real output:

[ 0.2s] discover   GET  /openapi.json ............ v2.20.1 · 545 operations
[ 1.5s] login      POST /api/auth/login .......... 200
[ 1.6s] dry-run    POST /api/migration/myob/dry-run
                   ok=true · 101 accounts · 328 journals
                   note: TB differs on 3 accounts netting to zero,
                   one balanced opening journal will be posted
[ 1.6s] import     POST /api/migration/myob/import
                   101 accounts · 328 journals written
[ 3.6s] verify     GET  /api/reports/trial-balance
                   51 rows · debits 877,105.88 = credits 877,105.88 ✓
[ 3.6s] report     GET  /api/reports/profit-loss . 200
        settings   PUT  /api/settings ............ 200

3.6 seconds end-to-end. Books migrated, balanced, verified.

Why it's safe to let an agent near your ledger

SlowBooks was hardened against mistakes long before AI agents were the ones making them:

The undo button nobody else has: your entire company is one file, its attachments and documents included since v2.18. Before an agent session, copy it - SlowBooks company.sbk → company-before-ai.sbk, and undo of anything the AI did is just restoring the copy. File-level rollback of an AI's bookkeeping is something cloud accounting cannot offer at any price.

Things you can ask for once you're set up

Monthly close "Walk my monthly close: unreconciled bank lines, unsent invoices, unpaid bills due in 14 days, then a P&L vs last month."
Collections "List invoices 30+ days overdue and draft a polite chasing email for each customer, using the templates in /api/email-templates."
Bank feed triage "Fetch unmatched bank transactions and propose a category for each, citing the bank rule or similar past transaction you based it on. Don't apply anything until I approve."
Explain the numbers "Why did my margin drop in July? Compare P&L line items against June and show the three biggest movers."

Honest limits (we'd rather you know)

For the agents reading this

This site publishes /llms.txt, and there's a ready-made agent instructions template to drop into your data directory as CLAUDE.md for Claude Code or GROK.md for Grok, the two agents SlowBooks is built for first, or as AGENTS.md or GEMINI.md for other tools. It teaches the agent the auth flow, the dry-run-first rule, and the house conventions so every session starts oriented.

Try it

Signed Windows installer, with nothing to sign up for. Install, set a password, open your agent.

Download for Windows Download for macOS - Developer ID signed, notarized All platforms