How to set it up
About 20 minutes with an AI coding agent. Your product keeps running exactly as it does; Recount only calls one new route, and every call is signed.
Step 1
Make a project
Sign up, then Projects → New project, with your app's address. That's where Recount will call your recount handler.
Step 2
Run the setup command in your app's folder
It signs you in through the browser, saves your keys in .env.local, installs @recount/sdk, and adds recount.json, lib/recount.ts, the route app/api/recount/[...path]/route.ts and a skill for your AI coding agent (Claude Code, Codex, Cursor).
npx @recount/sdk init
Step 3
Ask your AI coding agent to finish it
Paste this into Claude Code, Codex or Cursor. The skill tells it exactly what to do: describe your data in recount.json, make sandbox accounts, run your real logic on each replayed event at ctx.now, and report side effects with ctx.output instead of doing them.
Set up Recount in this app. Follow the recount skill. Read the code that watches data and acts on it first, then fill in recount.json and lib/recount.ts. Never call the real clock or send anything real inside a recount.
Step 4
Check it
With your app running, this checks your keys and recount.json, then makes a throwaway sandbox, sends it one clock tick and deletes it. The dashboard's Setup tab has the same check.
npx @recount/sdk check --app http://localhost:3000
Step 5
Try it on yourself
Prospects → Start a test run. Upload your own sample export and go through exactly what a buyer sees: the match, the replay and the report. Test runs are free.
Step 6
Invite a prospect
Prospects → Invite, with their company and work email. They open the link, confirm a code, agree to how their data is used, connect it read-only, and get their report minutes later.
More things to ask your agent
Add a rule to recount.json that counts the records our product would have caught that nobody handled in reality. Use kind "missed".
Make the recount handler use handleBatch, loading the sandbox state once per batch and saving it together with lastBatch/saveBatch in one transaction.
Add the promote hook to lib/recount.ts: turn the sandbox into a real workspace for the buyer, update names and emails from fetchExport(), and return the sign-up link.
Find every place our logic reads the clock or sends something (email, Slack, webhooks, payments) and make each one use ctx.now and ctx.output during a recount.
The details (recount.json, rules, the handler, connectors, privacy) are in the docs.