You’ll need:
- Node.js 18 or newer
- Access to your Postgres database (Supabase, RDS, PlanetScale, or self-hosted)
1
Install the CLI
2
Log in
What success looks like
What success looks like
ardent project create my-app. If you already have exactly one project and connector, Ardent selects them for you.3
Get your connection string
Save it in your shell so the next two commands can reuse it:Keep the single quotes — passwords often contain characters your shell would eat.Where to find it, and the one thing that usually blocks the next step:
- Supabase
- RDS / Aurora
- PlanetScale
- Self-hosted
In your Supabase dashboard, open Connect and copy the direct connection string — not the pooler one. The pooler can’t do replication, and preflight will fail on it. Details: Supabase setup.
4
Preflight your database
- Missing grants — preflight prints the SQL. Run it on your database, then run preflight again.
wal levelfails — logical replication is off. See your provider tab above.- “Already connected” — this database has a connector. Run
ardent connector list.
5
Connect your database
When preflight passes:This copies your data into Ardent once. Small databases take minutes; large ones take longer. Setup runs on Ardent’s servers — if your terminal disconnects or you interrupt the command, nothing is lost. Run
ardent connector retry-setup <name> and it picks up where it left off.The new connector becomes your active connector automatically.
6
Create a branch and use it
What’s next
Give it to a coding agent
Install the ardent-cli skill and let Claude Code or Cursor test migrations and schema changes on a branch.
A branch per pull request
Create and clean up branches automatically in CI.
Branch-based local dev
Point your local stack at branches instead of a shared staging database.