Set up with an AI agent
One prompt for Claude Code, Codex or Cursor that installs Forkbase or connects your app, one question at a time.
Let your coding agent (Claude Code, Codex, Cursor, Windsurf, any agent that can read a URL and run commands) set Forkbase up with you. Paste one line; it asks you a question at a time and does the work.
New to Forkbase
Paste into your agent, in the folder of your app (or an empty folder for a new one):
Read https://chronos.2090.tech/forkbase/setup.md and set up Forkbase for me.It asks, one at a time:
- Where should Forkbase run? This machine, a server you have (over SSH), or one already running.
- Which database? The bundled Chronos engine, or your own Postgres.
- New app or this app? It reads your folder first. If the app already uses Supabase, Forkbase drops in.
- What are you building, and with what? (new apps) One sentence, and a stack.
- Which parts? Sign-in, storage, live updates, AI agents, background jobs.
- What will the agent change, and what needs a person? (if you picked agents) It writes the merge policy from your answer.
Then it installs, starts Forkbase, writes the keys to your env file (never into the chat), wires the clients in, makes your tables with row-level security, sets up the agent and its policy, and proves each part works.
Already running Forkbase
The dashboard's overview has Connect with an AI agent: a prompt with your server's address in it.
Read https://api.myapp.com/skill/setup.md and connect this project to my Forkbase at https://api.myapp.com.The agent skips the install and goes straight to your app. It asks you to put the keys in your env file yourself (from Settings in the dashboard), so they never pass through the chat.
What the agent follows
The prompt points at the setup skill, skills/forkbase-setup/SKILL.md. Every Forkbase server serves it at /skill/setup.md.
It tells the agent to:
- ask one question per message, with a recommended answer first,
- look at your folder before asking what it can see for itself,
- say what it will install or run before it does, and wait for a yes,
- keep keys and passwords out of the chat, and the service key out of browser code,
- never approve held runs or loosen a policy for you.
After setup
To let the same agent work in your data (not just in your code), connect it over MCP. The setup asks whether you want that at the end.
Something wrong or missing? Edit this page on GitHub or open an issue.