SaaS starter templates

SaaS templates,
ready to bill.

Stripe billing, multi-tenant auth, RBAC, team management, and admin dashboards — the months of plumbing you don’t want to write twice.

2 templates
Stripe + webhooks
Multi-tenant
RBAC built in

Building a SaaS sounds simple until you start. Auth alone is a week. Stripe webhooks — reliably, with idempotency and retries — is another. Then there’s team accounts, invitations, role-based permissions, audit logs, an admin panel, password reset flows, OAuth providers, soft deletes for GDPR, an email transactional pipeline, and the cron jobs that reconcile failed payments. None of that is the product you’re actually trying to sell.

SaaS templates collapse that timeline. Every kit in this category is a working Next.js 15 application with the foundational pieces wired up correctly: Clerk or NextAuth for identity, Stripe for subscriptions and one-time charges, Prisma for the database layer, a sensible RBAC model with workspace-scoped permissions, and an admin dashboard for the metrics you’ll inevitably need.

The starting point is opinionated — we picked the stack that works at scale — but the seams are clean. Swap Stripe for Lemon Squeezy if you want merchant-of-record billing. Move from Clerk to NextAuth if you need full data ownership. The architecture supports it. Browse the templates below, or compare against the broader Next.js catalog.

Available Templates

Browse ready to bill.

What you get

Production-grade features, batteries included

Stripe billing + webhooks

Subscriptions, one-time charges, customer portal, proration, trials, and idempotent webhook handlers. Test mode and live mode environment variables clearly separated.

Multi-tenant architecture

Workspace-scoped data with row-level access controls. Invitations, role transfers, and workspace switching wired into the UI from the first commit.

Role-based access (RBAC)

Owner, admin, member roles with a permission system that's flexible enough for custom scopes. Server-enforced — not just hidden buttons.

Auth that scales

Clerk by default with Google, GitHub, email magic links, 2FA, and session management. Drop-in NextAuth adapter for teams that need full data ownership.

Admin dashboard

Customer search, subscription overrides, manual refunds, feature-flag toggles, and event logs. The internal panel you’d build at month three, built on day one.

Transactional email

Resend integration with React Email templates for welcome, invitation, password reset, payment failed, and trial ending. Localisation-ready.

Who it's for

Built for teams that ship

01

B2B SaaS founders

You’re selling to teams, not individuals. Multi-seat billing, workspace invites, and SSO are non-negotiable. Start from a template that already speaks that language.

02

AI app builders

You’re wrapping an LLM with a paid layer. Combine the SaaS Starter with the AI Avatar kit, swap the AI provider for OpenAI or Anthropic, and you have a billable AI product in a weekend.

03

Internal tools at growth-stage startups

You need a permissioned dashboard for an internal team — auth, audit logs, and feature flags — but don’t want to spend a sprint building it. The SaaS template is overkill in a good way.

Comparison

How DevKit compares

FeatureDevKitShipFastMakerkitBullet Train
Next.js 15 App RouterRails
Stripe billing
Multi-tenant workspaces
RBAC with custom rolesBasic
Admin dashboardAdd-on
OAuth (Google, GitHub)
2FA built in
Lemon Squeezy alternativeAdapterAdd-on
Free tierFree kits available
TypeScript strictPartialRuby
FAQ

Common questions

How long does it take to launch a SaaS with this template?

+

If you’re an experienced Next.js developer with your product copy ready, you can be in production with paid users in a weekend. The auth, billing, and webhook plumbing — which usually takes 2–4 weeks — is already done.

Can I use Lemon Squeezy or Paddle instead of Stripe?

+

Yes. The billing layer is behind a thin adapter interface. The template ships with Stripe wired up, plus a documented swap path to Lemon Squeezy (merchant of record, easier for non-US founders) and Paddle.

What database does it use?

+

Prisma over Postgres by default. Tested with Neon, Supabase, and Railway. There’s a Drizzle adapter on the roadmap; track the GitHub issue if that’s your preference.

Does it handle GDPR / data deletion?

+

Soft deletes are wired into the schema and account deletion flows. Full GDPR data export is a one-line addition to the user profile route. Audit log retention is configurable per workspace.

Can I sell to non-US customers?

+

Stripe Tax is enabled out of the box for VAT/GST collection. For founders in countries without easy Stripe access, the Lemon Squeezy adapter lets you sell globally as merchant of record with no business entity needed in the US.

Is there support for AI usage-based billing?

+

Yes. Stripe metered billing is wired up with a usage middleware that counts tokens or API calls and posts to Stripe at end of billing period. Reference implementation included.

Custom builds

Building a SaaS? Skip the boilerplate.

Start from a template that’s already battle-tested in production — or hire us to build the custom pieces only your product needs.

Start a custom build →