The Next.js SaaS boilerplate your AI can build on

The hard 90% is already done right in this SaaS starter kit. Your AI builds the 10% that's yours, and you ship in days.

Trusted by 50+ developers, built with the best stack

Next.jsshadcn/uiHonoDrizzleBetter AuthResendAmazon SES
Idea to production
< 7 days
Dev time saved
160+ hrs
Features already wired
30+
Free updates
Lifetime
Explore the codebase

One monorepo, cleanly organized

A Turborepo where every feature lives in its own package: config-gated, TypeScript end to end, and ready to extend the moment you clone it.

index.tsFeature flagsDocs

Central config for every feature flag. Flip a boolean to enable billing, multi-tenancy, or the waitlist — no code changes needed anywhere else in the codebase.

index.ts
export const config: AppConfig = {
siteName: "GenerateSaaS",
domain: "generatesaas.com",
waitlist: false,
tenancy: { multiTenant: false },
auth: {
socialProviders: ["google", "github"],
},
payment: { enabled: true },
notifications: { enabled: true },
storage: { enabled: true },
}
main
Next.js 16
Everything included

Everything your SaaS needs, built and maintained

Auth, billing, teams, email, and AI are the same in every SaaS, and they take 160+ hours to build right. This Next.js starter kit ships all of it production-ready, so you spend your time on the product, not the plumbing.

Stay up to date, forever

Keep your project current with one AI-guided merge. Every security fix and new feature lands without a risky manual upgrade.

  • An AI-driven three-way merge, re-shaped to your exact stack first
  • Untouched files apply automatically; your edits you approve one by one
  • Runs on a clean git tree you can always undo, verified by your tests

A native desktop app with built-in AI

Ship one native app for Mac, Windows, and Linux. The AI inside runs on each user's own Claude or Codex subscription, so it costs you a fraction of API pricing.

  • AI runs on the user's own Claude, Codex, or ChatGPT subscription
  • Signed, auto-updating native app for Mac, Windows & Linux
  • Same account, billing, and device sign-in as the web

Built for AI coding agents

Point Claude Code, Cursor, or Codex at the repo and let it ship features. The codebase is built so your AI always has the context it needs.

  • AGENTS.md plus full Next.js and Nuxt docs your agents can read
  • TypeScript end to end, so agents get compiler feedback instantly
  • Config-first structure keeps agent changes small and reviewable

Add AI features with any model

Vercel AI SDK and OpenRouter wired in for streaming AI features with any model.

  • Streaming chat, structured output, and tool calling
  • OpenAI, Claude, or OpenRouter via the Vercel AI SDK
  • Typed end to end, from prompt to UI

Teams and organizations

Organization and team support with role-based access control.

  • Organizations, members, and email invites out of the box
  • Role-based access control: owner, admin, and member
  • Per-team billing scope, toggled with one flag

A built-in admin dashboard

Pre-built dashboard with user management, analytics, and settings pages.

  • Manage users, organizations, and subscriptions
  • Audit logs, billing logs, and broadcast announcements
  • Role-gated and server-enforced by default

Payments and subscriptions

Stripe or Polar billing with subscriptions, one-time payments, and a customer portal ready to go. Swap providers with one config flag.

  • Subscriptions, one-time products, trials, and the customer portal
  • Swap Stripe for Polar by flipping a single config flag
  • Usage credits and metered billing on top of any plan

Authentication and accounts

Complete auth system with email, social logins, magic links, and 2FA. Secure by default.

  • Email, password, and social OAuth (Google, GitHub, Apple)
  • Two-factor auth, passkeys, and magic links built in
  • Sessions, roles, and security handled by Better Auth

Transactional and marketing email

Send beautiful emails with React Email templates. Works with any provider.

  • Beautiful React Email templates for every flow
  • Automated welcome and win-back sequences
  • Delivered via Amazon SES, Resend, or SMTP
The full toolkit

Everything else, already built

Beyond the essentials above, all of this ships wired up and ready, from organizations to audit logs in this full-stack TypeScript SaaS boilerplate.

Notifications

Real-time in-app and email notifications with a prebuilt inbox and preferences.

Learn moreNotifications

Credits & Usage

Prepaid credit balances and metered usage you can attach to any feature or plan.

API Keys

Issue scoped, rate-limited API keys so customers can build on your API.

Learn moreAPI Keys

Type-safe API

Hono API with end-to-end type safety, OpenAPI docs, and RPC client.

Learn moreType-safe API

Internationalization

Multi-language support with locale detection and SEO-friendly URLs.

Learn moreInternationalization

File Storage

S3-compatible uploads with signed URLs, size limits, and image handling.

Learn moreFile Storage

Audit Logs

A complete trail of user and admin actions for security and compliance.

Learn moreAudit Logs

Background Jobs

Inngest-powered job queue for emails, webhooks, and scheduled tasks.

Learn moreBackground Jobs

SEO Optimized

Meta tags, sitemaps, structured data, and social sharing configured out of the box.

Learn moreSEO Optimized

One-time Products

Sell lifetime deals and add-ons next to subscriptions, with built-in ownership checks.

Theming & Dark Mode

Light, dark, and system themes with a switcher and a tokenized design system.

Learn moreTheming & Dark Mode

Onboarding

Guided post-signup onboarding plus a welcome email sequence out of the box.

Learn moreOnboarding

Waitlist

Capture pre-launch demand with a ready-to-ship waitlist and signup flow.

Learn moreWaitlist

MDX Blog

A fast, SEO-ready MDX blog with categories, tags, authors, and RSS.

Learn moreMDX Blog

Cookie Consent

GDPR-aware consent that gates third-party scripts until visitors opt in.

Testimonials

Loved by builders who actually launched

Real teams. Real traction.

"I had auth, billing, and emails working the same afternoon I cloned it. Normally that's a week of plumbing before I can even start on the actual product. It let me spend my time on the part that's actually mine."

JF

Jonas Friedrich

Founder

"What sold me is that it reads like a codebase a senior team would maintain, not throwaway scaffolding. Type-safe end to end, sensible structure, and I never felt like I'd have to rip half of it out later."

PA

Priya Anand

Founder

"I've bought a few boilerplates and this is the first one I didn't fight. Payments, the dashboard, the admin panel, all wired up and themed. I shipped my MVP instead of reinventing the basics."

MR

Mateo Rossi

Full-stack developer

Pricing

Pick a plan that fits

One-time purchase. Own it forever. Pick your plan and start shipping.

Solo

For solo devs and freelancers

$199one-time
  • Next.js or Nuxt: pick one framework
  • Lifetime updates & support
  • Unlimited private & commercial projects
  • Client work included
  • Closed-source / private projects only
  • One framework (Pro unlocks both)
Agency

For agencies and dev teams

$999one-time
  • Everything in Pro
  • Up to 10 developer seats
  • Open-source projects allowed
  • Direct support: phone / Discord / Telegram
  • Lifetime updates & support
Instant license delivery
Feature comparison

Compare all features

See exactly what's included in each tier to make the right choice for your project.

Feature
Solo
$199
Pro
$299
Agency
$999
License & projects
Unlimited projects (private & commercial)
Perpetual license, own it forever
Client & commercial work
Frameworks
One frameworkAll frameworksAll frameworks
Developer seats
1 developer1 developerUp to 10 developers
Desktop app
Updates & support
Updates
LifetimeLifetimeLifetime
Support level
StandardPriorityDirect
Agency rights
Open-source projects
FAQ

Everything else you might be wondering

Can't find what you're looking for? Drop us a line.

Stop configuring, start shipping

Stop fighting the tools. Get back to the product.

Instant delivery
Lifetime updates
Unlimited projects