The Next.js SaaS Starter Kityour AI agent builds on.

AI scaffolds a prototype. MakerKit gives your agent the parts it gets wrong: secure multi-tenancy, real billing, and an upgrade path that lasts, with an MCP server and agent rules so everything it builds next follows the same patterns.

Get MakerKit·$349$299
Claude CodeCursorGemini

Inside the Next.js SaaS Boilerplate

MakerKit team dashboard page in dark mode: the sidebar with the team switcher and navigation, and MRR, revenue, fees and new customer cards above a visitors chart
Authentication

Sign-in your users already expect

Password, magic link, passkeys, OAuth and multi-factor authentication, with the emails that go with them.

Multi-factor authentication

Users enroll an authenticator app and are challenged for a code at sign-in.

Transactional emails

Templates written in JSX with React Email, sent through Resend or Nodemailer (SMTP).

Every sign-in method

Password, magic link and social sign-in, configured per environment.

Passkeys

Opt-in sign-in with Face ID, Touch ID, Windows Hello or a security key. No password to phish.

Magic links

Passwordless sign-in: users get a one-time link by email instead of typing a password.

Accounts and billing

Everything a multi-tenant B2B SaaS needs

The multi-tenant SaaS boilerplate parts: auth, billing, teams with roles, and a super admin that can impersonate or ban users and teams, plus the screens your customers use to manage them.

Roles and permissions

Roles map to permissions that your code and your database policies both check.

Customer portal

Users change plans, update payment methods and download invoices without a support ticket.

Team accounts

Users belong to several teams and switch between them, or work in their personal account.

Billing webhooks

Flat, per-seat and metered subscriptions through Stripe Checkout, with webhooks that keep plans and seats in sync with your database.

Swappable providers

Billing, email, CMS and monitoring sit behind interfaces, so changing provider is configuration, not a rewrite.

Internationalization

Every UI string comes from translation files, so adding a language is content work.

Built for coding agents

Guardrails your agent works inside

Rules, an MCP server and strict checks keep generated code in the kit’s patterns.

Agent rules

AGENTS.md files at the root and in each package teach coding agents the kit’s conventions.

Strict code standards

Strict TypeScript and linting across the monorepo, so type errors surface before your users find them.

MCP server

Gives Claude Code, Cursor, Codex and Gemini structured access to the kit: database, components, translations, checks and PRDs.

E2E tests with Playwright

Tests for authentication, team accounts and invitations, written with page objects you can extend.

You own the code

The full source lives in your repository. Nothing is hidden behind a package you cannot edit.

Also included

Everything else, already wired up

The parts nobody lists until they are missing: content, deployment, documentation, and people to ask when you get stuck.

Interface
  • Shadcn UI and Tailwind CSS v4One theme file restyles the app and the marketing site
  • Dark and light themesEvery component supports both, with a toggle built in
  • Mobile-friendly layoutsResponsive app shell, sidebar and marketing pages
  • Figma UI kitThe same components, for designing screens before you build them
Content
  • Blog and CMSKeystatic, WordPress or Supabase behind one interface
  • Help centerDocumentation pages for your own customers
  • SEO basicsPer-page metadata and a generated sitemap
Platform
  • Serverless or NodeDeploy serverless or to a long-running server, with guides for both
  • PluginsTestimonials, feedback, roadmap and waitlist, added when you need them
  • MonitoringSentry, PostHog or SigNoz behind one interface
  • Realtime notificationsIn-app, over Supabase Realtime on the Supabase kits
Learning and support
  • DocumentationFor every kit, from install to production
  • MakerKit courseBuild and launch a SaaS on the kit, step by step
  • DiscordAsk Giancarlo and other builders directly

What customers say

Developers and founders on the kits, the docs and the support. Every quote links to the original post.

just wanna say thanks to @gc_psk for building @makerkit_dev . it is such an overpowered template. like finally we have a really good one with active development, good docs and now even cursorrules/windsurfrules to just sit down and see ai agents do the stuff. truly mindblowing.
CRcris@criscounters
Giancarlo Buomprisco

Built and maintained full-time by Giancarlo, a software engineer with almost 15 years of experience at startups and enterprises. Support questions reach me directly.

My favorite so far is @gc_psk and @makerkit_dev ship cursor rules along with updates to the framework. That's been really useful to pull in new version (via git remote) and things stay in sync.
RYRyan Hayeson X
Just started using MakerKit and it's a total game-changer. 🚀 Wish I had this when I was building Phishr. Instant team management and billing? Insane.
HAHarvey Coplestone@hcoplestone
Second that! Giancarlo provides amazing support!! 😄
ANAndrew Willshire@acwillshire
You need to check @makerkit_dev by @gc_psk — it’s the best I’ve seen so far. It’s feature complete, plenty examples, amazing docs, great Discord community, the dude provides support even days after his weeding (which is crazy!) I’m not affiliated in every way, just a happy cx.
IVIvor@madebyivor
Honestly @makerkit_dev is great. More for B2B products but really clean and well documented.
KIKiara Bickers@kiarabickers
Amazing! @gc_psk has built a masterpiece with this one!
ADAditya TripathiClimactic · @AdityaTripathiD
I just stumbled upon @makerkit_dev (and you!), it's impressive, I thought it was a big team behind how many features I saw (and I've been working in software a long time!) I was just looking for a free boilerplate, but the lifetime licence makes it a no brainer. Thank you!
SÉSéraphin Hochart@nsphin
I would have totally agreed with you until… I found @makerkit_dev last year. This is by far, the best boilerplate I found those past years. The dev is pushing new features and updates almost every week. His documentation (specially migrating to Next 15) is the best I’ve seen.
DADavid Dias@TheDavidDias
Makerkit is a gem for makers, if I was not building a desktop app I would be using it for sure, maybe for my next project
KHKhalil NajjarCohere AI · @knajjars
I landed on MakerKit after getting into boilerplates with ShipFast. Much better.
WIWill Mitchell@StartupBros
1000% recommend buying a good boilerplate (or making your own) I use @makerkit_dev it's so good I had an affiliate link, but I can't find it at the moment
DADan Schoonmaker@DanSchoonmaker
For anyone who wants to build their own SaaS, I recommend trying out @makerkit_dev. Thanks to @gc_psk for creating such a fantastic tool that makes building websites a breeze! #SaaS #buildinpublic
CACarl Chan@CarlChan77
We loved the product since when Giancarlo released the first version, and are building upon it ever since for all of our products. Highly recommended for all indie makers out there.
RARade JoksimovicRumora · on X
Solid and battle tested boilerplate with an amazing community and support.
STStefano CantuWiseOptIn · on X
Build vs buy

What your agent would build before your first feature

An agent scaffolds a Next.js app in minutes. Auth, tenancy and billing that hold up in production take 49-81 hours of senior developer time, including fixing the patterns it got wrong.

Maintained full-time
Since 2022
Kits across 4 frameworks
8
Data layers: Supabase, Drizzle, Prisma
3
Build onceBefore your first feature
Authentication (email, OAuth, MFA)6-10 hours
Stripe subscription billing5-8 hours
Teams, roles & invitations6-10 hours
Super admin dashboard4-6 hours
Transactional emails3-5 hours
Marketing pages2-4 hours
Blog & documentation3-5 hours
Project setup (monorepo, CI, TypeScript)2-3 hours
E2E tests (auth and billing flows)3-5 hours
Maintain foreverAfter launch, for as long as it runs
Refactoring AI-generated patterns15-25 hours
Next.js/React version upgradesEvery major release
Security patches & fixesOngoing, unpredictable
Dependency updatesOngoing

Hours with Claude Code or Cursor · bar shows the range on a 0–25h scale

Building it yourself49-81 hoursWith AI tools, including rework
Developer time saved$7,350-$12,150At $150 an hour
With MakerKitDay 1Every row above ships in the kit, and upgrades keep coming
Get lifetime access

Estimates for a senior developer building from scratch with Claude Code or Cursor at $150/hour, including 15-25 hours refactoring AI-generated patterns. Read the methodology

In short

The parts of a SaaS your agent should not write from scratch

AI tools get you to a prototype. MakerKit gives your agent a production baseline to extend: tenant isolation, real billing, and an upgrade path maintained since 2022.

What is the MakerKit Next.js SaaS Starter Kit?

MakerKit is a Next.js SaaS starter kit and multi-tenant SaaS boilerplate for developers building B2B products. It ships authentication, Stripe billing, teams with roles and invitations, a super admin, and a marketing site on Next.js 16, with Supabase, Drizzle, or Prisma as the data layer. Agent rules and an MCP server let Claude Code, Cursor, and Codex extend the kit's patterns instead of replacing them.

Tenant isolation in the data model

Teams, roles, and invitations are part of the schema. Supabase kits enforce access with Postgres RLS; Better Auth kits with organization-scoped authorization policies.

Built for AI coding agents

AGENTS.md and CLAUDE.md files at the root and in each package, rules for Claude Code, Cursor, Codex, and Gemini, and an MCP server your agent can call.

Billing beyond the happy path

Per-seat, metered, and one-off billing with webhook handling, behind a gateway that switches providers through configuration.

Lifetime license, continuous updates

Pay once, then pull new features, fixes, and framework upgrades into your repository with git. Maintained full-time since 2022.

Support from the author

Questions go to me on Discord, the person who writes and maintains the kits.

Documented per kit

Each kit has its own documentation, from installation to production. The Next.js Supabase kit alone has more than 170 pages.

Best for

  • Developers building a B2B SaaS that needs teams, roles, and per-seat billing in the first release
  • Founders who direct an AI coding agent and want it working inside an established codebase
  • Agencies and product teams that start several SaaS projects on one architecture (Team license)
  • Developers who want their agent's tokens spent on product features, not on regenerating and fixing auth, billing and multi-tenancy

Not for

  • Anyone who wants a hosted app builder instead of a codebase. Building by prompting an AI agent is fine: the agent works in the MakerKit code for you
  • Throwaway prototypes where auth and billing do not matter yet

With and without MakerKit

Without MakerKit: Auth, billing, and teams built from scratch with AI tools: 49-81 hours including rework

With MakerKit: Day one is a product feature, built on patterns documented for your agent

Without MakerKit: Tenancy checks written by hand in each handler, and easy to miss in one

With MakerKit: Access rules live in the data layer: RLS policies or organization-scoped policies

Without MakerKit: A template snapshot ages with the framework it was built on

With MakerKit: Framework upgrades ship to your repository, maintained since 2022

Without MakerKit: UI templates stop at the screens

With MakerKit: The backend ships too: auth, billing webhooks, admin, and E2E tests

Get the Next.js SaaS Starter Kit: one payment, every product you build on it

  • One-time payment
  • Lifetime updates
  • Unlimited projects
  • Discord support

Choose your stack

Pro
A B2B SaaS Starter Kit for individual developers.

$349$299/lifetime

  • Next.js 16, React Router 8, and TanStack Start
  • Supabase-native Stack (Auth, Storage, Database, RLS)
  • Unlimited Projects
  • Continuous updates
  • Lifetime license
  • Access to 1 user (only you)
  • Discord Support
Teams
A B2B SaaS Starter Kit for teams of developers or companies.

$649$599/lifetime

  • Next.js 16, React Router 8, and TanStack Start
  • Supabase-native Stack (Auth, Storage, Database, RLS)
  • Unlimited Projects
  • Continuous updates
  • Lifetime license
  • Up to 5 collaborators
  • Discord Support
  • Private Discord channel
Compare Pro and Teams+
Questions before you buy

Next.js SaaS Starter Kit FAQ

Not covered here? Ask in Discord or contact me. Licensing details are in the MakerKit license terms.

Is MakerKit a Next.js SaaS template or a Next.js SaaS boilerplate?

A boilerplate, also called a Next.js starter kit. A Next.js SaaS template usually stops at the screens; MakerKit ships the backend behind them: auth wired to Postgres, billing wired to a payment provider, and the account model that ties them together. It is a multi-tenant SaaS boilerplate you own and extend, not a design template or a code generator.

Which stacks does the Next.js SaaS starter kit support?

Three, on the same architecture: Supabase (Supabase Auth, Postgres, Storage, and Row Level Security), Drizzle ORM with Better Auth, or Prisma 7 with Better Auth on any Postgres. All three use Next.js 16, React 19, TypeScript, Tailwind CSS 4, and Shadcn UI. A license covers one data stack and includes the TanStack Start version of that stack too, plus React Router 8 on the Supabase stack.

Is there a free version of MakerKit?

Yes. MakerKit Lite is a free, open source Next.js SaaS boilerplate on GitHub with Supabase authentication, marketing pages, and the same Turborepo architecture as the full kit. Use it to evaluate the codebase before upgrading to the full version with billing, teams, and admin tools.

How does MakerKit work with AI coding agents like Claude Code, Cursor, and Codex?

The repository ships AGENTS.md and CLAUDE.md instruction files at the root and inside each package, pre-configured rules for Claude Code, Cursor, Codex, and Gemini, and an MCP server that gives the agent structured access to the kit. Your agent builds features on patterns that already handle auth, tenancy, and billing, instead of generating its own versions of them.

Why not let an AI agent scaffold the SaaS infrastructure?

You can, for a prototype. The costly parts are the ones agents get subtly wrong: tenant isolation, role checks on every mutation, and billing webhooks that must reconcile plan changes, seat counts, and failed payments. Our estimate is 49 to 81 hours of senior developer time with AI tools, including 15 to 25 hours refactoring generated patterns, before your first product feature. MakerKit gives you that baseline on day one, maintained since 2022.

Can I deploy the Next.js kit outside Vercel?

Yes. The Supabase kit has deployment guides for Vercel, Cloudflare, Docker, and a VPS. The Drizzle and Prisma kits document Docker and Railway and run against any Postgres provider, with Better Auth running inside your app rather than as a hosted service.

What support is included?

Discord support from me, Giancarlo, the founder who works on MakerKit full-time, and from the community. I help with setup, kit-related issues, and questions about the codebase. Team licenses add a private Discord channel for your team.

Is MakerKit a one-time purchase or a subscription?

A one-time purchase. You get a lifetime license to the source code, continuous updates for the stack you bought, and unlimited projects for your own business, with no renewal fee. Building products for clients requires a Team license, and each client that receives the code needs their own license.

Start your multi-tenant SaaS on MakerKit

One payment and lifetime updates for this Next.js SaaS starter kit. Clone it today and spend this week on the features only your product has.

Read the Next.js SaaS Starter Kit docs
Claude CodeCursorGemini