About this product

Launch a subscription SaaS without rebuilding auth and billing from scratch.

AI SaaS Starter Kit is a complete Next.js 16 foundation for indie hackers, agencies, and developers building AI-powered (or any) SaaS products. You get marketing pages, authentication, Stripe billing, a production-style dashboard, admin tools, and step-by-step documentation in one download.

What's inside

Marketing

  • Landing page with modern dark UI
  • Pricing page with FAQ
  • Privacy & terms pages
  • Edit pricing tiers and FAQ from the admin panel (no redeploy for content)

Authentication

  • Email/password registration and login
  • Optional Google & GitHub OAuth
  • Email verification and password reset flows

Billing

  • Stripe Checkout and customer portal
  • Webhooks with subscription sync to PostgreSQL
  • Plan gating: Free, Pro, and Business

Dashboard

  • Overview, settings, and billing
  • Analytics with usage events (Pro plan)
  • Teams: create organizations, invite members by email, accept invites (Business plan)

Admin

  • User management
  • CMS for public pricing and FAQ
  • Organization overview

API & AI hooks

  • Versioned API routes including health check
  • Chat/completion endpoint ready for your AI provider
  • Credits field and usage event logging for metering

Documentation

  • Getting started, environment variables, Stripe, auth, Vercel deployment, Docker, customization, and an E2E checklist

Tech stack

Next.js 16 · React 19 · TypeScript · Tailwind CSS 4 · shadcn/ui · Auth.js v5 · Prisma · PostgreSQL · Stripe · Resend (email) · React Email · Zod · React Hook Form

What you receive

  • Full source code (ZIP)
  • .env.example and seeded demo accounts
  • MIT license — commercial use allowed

Requirements

Node.js 18+, PostgreSQL (local, Neon, or Railway), Stripe account for billing, basic Next.js experience.

Not included: hosted infrastructure, AI API keys, or a finished AI product — you plug in your provider and product logic on top of the included hooks.

Version

v1.0.0

License

MIT License — commercial use allowed. You may use, modify, and ship products built from this kit. Redistributions should include the MIT copyright and license notice (included as LICENSE in the download). No warranty; provided as-is.