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

AI scaffolds a prototype. It can't give you secure multi-tenancy, real billing, or an upgrade path that lasts.

MakerKit does, and its MCP server and agent rules keep your agent inside those patterns.

Get lifetime access for only $349
Makerkit Dashboard
Supabase, Drizzle, or Prisma on one architecture

The full-stack Next.js SaaS Starter Kit your AI agent extends

Authentication, billing, teams with roles and invitations, and a super admin, already wired together in a Turborepo monorepo. A multi-tenant SaaS boilerplate with a working backend, not a Next.js SaaS template of screens.Your AI agent writes product features against conventions documented in AGENTS.md and exposed through the MakerKit MCP server, so Claude Code, Cursor, or Codex follow the kit's patterns.Pick Supabase with Postgres Row Level Security, or Drizzle or Prisma with Better Auth on any Postgres.

Authentication

Password, magic link, and social sign-in, plus multi-factor authentication, with the email flows that go with them.

Billing and Subscriptions

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

Customer Portal

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

Multi Tenancy

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

Super Admin

Inspect, impersonate, or ban users and teams from the super admin dashboard.

Shadcn UI and Tailwind CSS

Shadcn UI components styled with Tailwind CSS v4, themed once and reused across the app and the marketing site.

Dark Theme

Dark and light themes, with the choice left to your users.

Blog

A blog for product updates and SEO content, fed by the kit's CMS interface.

Documentation/Help Center

A documentation section for your own users, so onboarding questions get answered before they reach your inbox.

Mobile Friendly

Responsive layouts for the app and the marketing pages.

Serverful/Serverless Stack

Runs on serverless platforms or on a long-lived Node server, with deployment guides for both.

Strict code standards

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

E2E Testing with Playwright

Playwright end-to-end tests for authentication, team accounts, and invitations, written with page objects you can extend.

Emails with React Email

Transactional email templates written in JSX with React Email.

Mailers

One mailer API with Resend or Nodemailer (SMTP) behind it.

Plugins

Add-on plugins for your SaaS: testimonials, feedback, roadmap, and waitlist.

You Own the Code

The full source lives in your repository. Change anything; nothing is hidden behind a package you cannot edit.

Documentation

Every kit has its own documentation, from installation to going to production.

SEO Basics

Per-page metadata and a sitemap route on the marketing site.

Swappable Providers

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

AI Agent Rules

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

MCP Server

An MCP server in the repository gives your agent structured access to the kit.

Course

The MakerKit course walks through building a SaaS on the kit, from idea to launch.

Realtime Notifications (Supabase)

In-app notifications delivered with Supabase Realtime on the Supabase kits.

Internationalization

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

Figma UI Kit

A Figma UI kit that matches the components, for designing new screens before you build them.

Support

Help from me and the MakerKit community on Discord.

Community

A Discord community to share projects, ask questions, and suggest features.

Guides

Tutorials on the MakerKit blog covering the kit's stack and common SaaS patterns.

Continuous Updates

New features, fixes, and dependency upgrades land continuously, and you pull them into your repository with git. See the changelog.

Maintained Full-Time

MakerKit is my full-time job, not a side project, so the kits keep up with their frameworks.

Since 2022

MakerKit has shipped and maintained SaaS kits since 2022, with an upgrade path across framework major versions.
Rules and an MCP server for AI coding agents

Rules and an MCP server for AI agents and IDEs: Claude Code, Codex, Gemini, and Cursor

Instruction files tell the agent where code goes and which patterns to reuse. The MCP server gives it structured access to the kit, so features land on the existing auth, tenancy, and billing instead of beside them.

Cursor AI IDEClaude CodeOpenAI CodexGemini IDE
From clone to product code in one session

A production-ready Next.js SaaS Starter KitThe setup, stack, and tooling are decided, so your first commit is a product feature.

Authentication made easy

AuthenticationPassword, magic link, passkey, and social sign-in, plus MFA, with the email flows that go with them.

Email/Password
Multi-tenant SaaS from day one

Multi-TenancyPersonal and team accounts, invitations, and role-based access control, modeled in the database rather than bolted on in app code.

Organizations and Teams
Get Paid

BillingSubscriptions with Stripe and other providers, including per-seat and metered billing, for personal and team accounts.

Manage accounts from the Super Admin panel

Admin PanelManage your users, organizations, and build your own internal tooling within the app.

Super Admin
UI you extend, not rebuild

Delightful UI, Built to ExtendScreens for every flow, built from the same Shadcn UI components you will use for your own features.

Landing Page
Marketing, SEO, and Content

MarketingGet found by your target audience with blog, documentation, changelog, and more.

Blog
Debug and Test your SaaS

Monitoring and TestingComprehensive monitoring and testing tools to help you keep your SaaS running smoothly.

Playwright E2E Testing
Help from the person who wrote the code

Support and CommunityAsk me and the MakerKit community on Discord about setup, kit-related issues, and how the codebase fits together.

Focus on your product, not infrastructure

What your AI agent would otherwise have to build first

An agent can scaffold a Next.js app in minutes. Auth, tenancy, and billing that hold up in production are where the hours go. With AI coding tools, that is still 49-81 hours of senior developer time, including fixing the patterns AI got wrong.

ComponentBuild with AIMK

Build once

Infrastructure every SaaS needs before its first feature

  • Authentication (email, OAuth, MFA)6-10 hoursPre-built
  • Stripe subscription billing5-8 hoursPre-built
  • Teams, roles & invitations6-10 hoursPre-built
  • Super admin dashboard4-6 hoursPre-built
  • Transactional emails3-5 hoursPre-built
  • Marketing pages2-4 hoursPre-built
  • Blog & documentation3-5 hoursPre-built
  • Project setup (monorepo, CI, TypeScript)2-3 hoursPre-built
  • E2E tests (auth and billing flows)3-5 hoursPre-built

Maintain forever

Work that keeps coming after launch

  • Refactoring AI-generated patterns15-25 hoursNot needed
  • Next.js/React version upgradesEvery major releaseIncluded
  • Security patches & fixesOngoing, unpredictableIncluded
  • Dependency updatesOngoingIncluded
Build with AI

49-81 hours

With AI tools, including rework

With MakerKit

Day 1

Start building your product immediately

Estimated savings

$7,350-$12,150

In developer time and opportunity cost

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

Our customers love Makerkit ❤️

HA

Harvey Coplestone

"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."

BR

Brayan

"@gc_psk @makerkit_dev Bought the your recent course and I’m super stoked to be part of the community! I can’t wait to dive into the material this week 🤙"

AN

Andrew Willshire

"@gc_psk Second that! Giancarlo provides amazing support!! 😄"

BE

Bekir Khan

"offtopic but I think your makerkit is the best paid boilerplate out there. you should market it more during the drama lol"

KI

Kiara Bickers

"Honestly @makerkit_dev is great. More for B2B products but really clean and well documented."

AD

Aditya Tripathi

Climactic

"Amazing! @gc_psk has built a masterpiece with this one!"

IV

Ivor

"@vikaskookna @makerkit_dev is a really solid saas starter. Props to @gc_psk for always delivering great features and maintaining excellent documentation."

PR

Pranav Malvawala

"@gc_psk @DmytroKrasun @makerkit_dev Makerkit is honestly the best investment I made this year. It just keeps getting better and better"

KH

Khalil Najjar

Cohere AI

"@gc_psk @makerkit_dev 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"

BL

Blake Rowley 👋🏽

"@gc_psk @makerkit_dev @supabase Oh mate! This is unreal. Legitimately unreal. Keep up the good work. Maybe consider a subscription for premium components. Will keep you motivated and more $ coming in."

WI

Will Mitchell

"I landed on MakerKit after getting into boilerplates with ShipFast. Much better."

NE

Neerav Vyas

"@gc_psk @makerkit_dev This is amazing, @gc_psk. Great job continuously adding new and useful features to the product 👏. Eager to know what comes next... Keeping my 👀 on it!"

DA

Dan Schoonmaker

"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"

ME

Mehdi Nabhani

"Tried most of them, makerkit beats them all 🔥"

CA

Carl Chan

"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"

RO

Roye Segal

Artefact

"MakerKit gave us a huge starting advantage by providing auth, multi-tenancy, and all of the necessities to build a SaaS on top of a solid foundation."

RA

Rade Joksimovic

Rumora

"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."

UL

Uladzislau Rasliak

AppReply

"We chose MakerKit because it's simply the best SaaS boilerplate app out there, with active community and regular updates."

ST

Stefano Cantu

WiseOptIn

"Solid and battle tested boilerplate with an amazing community and support."

CA

Calvin Müller

CrewCue

"It seemed like the logical choice."

Testimonials Plugin

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

One-time purchase: lifetime license, continuous updates, unlimited projects of your own.

  • Lifetime access to your stack of choice
  • Build unlimited applications
  • Continuous updates
  • Access to the Discord community
  • The best support in the SaaS Starter kits market, period.
  • Community and Chat support
  • Community-based feature requests and Request for Comments. You have a say in what Makerkit should build next.
  • One-time payment, no subscriptions
  • Includes access to our free Figma UI kit

Choose your Stack

Select the technology stack that best fits your project

Pro
A B2B SaaS Starter Kit for individual developers.

$349/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/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

Questions about licensing?

Read the MakerKit license terms and the MakerKit FAQ, or contact me.

What it is and who it is for

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.

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)

Not for

  • Non-developers: MakerKit is source code you run, change, and deploy yourself
  • Throwaway prototypes where auth and billing do not matter yet
  • Teams looking for a hosted, no-code app builder

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.

With and without MakerKit

Auth, billing, and teams built from scratch with AI tools: 49-81 hours including rework
Day one is a product feature, built on patterns documented for your agent
Tenancy checks written by hand in each handler, and easy to miss in one
Access rules live in the data layer: RLS policies or organization-scoped policies
A template snapshot ages with the framework it was built on
Framework upgrades ship to your repository, maintained since 2022
UI templates stop at the screens
The backend ships too: auth, billing webhooks, admin, and E2E tests
Giancarlo
Ciao, my name is Giancarlo 👋 I'm Makerkit’s full-time builder.
I help founders launch faster - because life’s too short to write boilerplate code.

I am a software engineer with almost 15 years of experience writing code for both startups and enterprises.

My love for creating digital products inspired me to build Makerkit, a SaaS Starter Kit that helps you launch the SaaS you have always dreamed of.

My job is to help you achieve your goals, and I work hard to make it happen.

You can find me on Twitter, LinkedIn, and GitHub.

Building a multi-tenant SaaS with an AI agent? Start it on MakerKit.

If your product needs teams, roles, and billing that hold up with paying customers, this Next.js SaaS starter kit is the baseline to give your agent. Buy once, clone today, and spend this week on the features only your product has.

Next.js SaaS Starter Kit FAQ

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.

Is the Next.js SaaS starter kit overkill for a solo founder?

No. Team accounts sit behind a feature flag: on the Supabase kit, set NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS=false and you run personal accounts only, with auth, billing, the admin panel, and the marketing site intact. The Drizzle and Prisma kits offer a personal-only account mode. Turn teams on when the first company asks for seats.

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.

Can I evaluate MakerKit before buying, and can I get a refund?

Yes to the first: the documentation for every kit is public, and I can share code snippets or a demo on request. Refunds are generally not offered once repository access is redeemed, because you receive the full source code.

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.