Getting started

Quick start

Run shipwithagent locally with no third-party accounts.

01Requirements

Node.js 20 or newer and Docker (for a local Postgres). You don't need Stripe, Resend or an AI key to start: emails land in a local mailbox, AI uses fake models and billing stays off until you add keys.

02Run it

Terminal
npm install
npm run setup
npm run dev

npm run setup writes .env.local with a new auth secret, starts Postgres in Docker, applies the migrations and seeds example plans plus an admin user. It prints the admin's generated password once, so copy it.

Open http://localhost:3000 and sign in. Emails (verification, magic links, codes) appear at /dev/mailbox.

03Use a hosted database

For Supabase, Neon or another hosted Postgres, set DATABASE_URL in .env.local, then:

Terminal
npm run db:migrate
npm run db:seed

On Supabase, use the session pooler or a direct connection, and run db/enable-rls.sql once in the SQL Editor. Remote databases add latency to every request in development; that's expected.

04Setup options

FlagWhat it does
--skip-dbOnly write .env.local
--no-seedSkip the example plans and admin user