Tutorial: Build a B2B SaaS MVP in 14 Days With Claude Code

Step by step, the exact prompts and commands we use on day one of a new client engagement. Follow along with any modern stack (Next.js + Supabase is the default we use; adapt as needed).

Updated: April 24, 2026

Day 1–2: Scaffold

Prompt: "Scaffold a Next.js 14 app with Supabase auth, Tailwind and a multi-tenant schema. Single `organizations` table, users scoped to tenants via memberships." Review, iterate once, commit.

Day 3–5: First real feature

Pick the narrowest feature that demonstrates the product. Prompt the agent to build controller, service, repository, DB migration and tests. Then to wire the UI page with form, table and empty state. Every piece on a named branch.

Day 6–9: Billing and onboarding

Wire Stripe with plans and webhooks via the Stripe MCP server. Build the onboarding flow that creates the tenant, invites teammates and stamps the first plan. Write the welcome email.

Day 10–14: Harden, deploy, handoff

Observability, rate limiting, deploy to Vercel + Supabase, DNS, monitoring. Run /security-review. Write the README and runbook. Invite the first paying customer.

Frequently asked questions

What if I use a different stack?

The day-by-day structure holds. We have run it with Spring Boot, Django, Rails and NestJS. Swap the prompts for your stack's idioms.