Expo Multi-Tenancy SaaS Template
Launch a scalable SaaS faster with an Expo-powered mobile starter kit featuring multi-tenant auth, roles, billing-ready architecture.
Next.js multi-tenant SaaS template with organizations, invitations, roles, URL-based tenant context and per-seat billing, built on Better Auth and Drizzle.






Everything you need to launch your SaaS in no time. Get all the core functionalities and integrations out of the box, so you can focus on making money.
Build for web, mobile, and browser extension simultaneously with a unified codebase.
Comprehensive auth flow with email/password, magic link, social login, and two-factor authentication.
Subscriptions, one-time payments, metered usage, per-seat, and credits - with org billing and popular providers built in.
Publish all your apps to all users with a single command. No more manual work.
Conversion-ready marketing pages - hero, features, pricing, testimonials, waitlist, and newsletter signup — ready to ship.
TurboStarter is a Next.js multi-tenant SaaS template where every tenant is an organization: users create organizations, invite teammates by email, get a role (owner, admin, or member), and switch between workspaces. Tenant context comes from the URL slug and the session, data is scoped by organizationId, and organizations can be billed per seat.
It is built on the Better Auth organization plugin, Drizzle, and Postgres, and the same organizations work in the Expo mobile app and the browser extension.
How tenants are isolated
All organizations share one database and schema, separated by an
organizationId column. That keeps operations simple and cheap. If you later
need schema-per-tenant or database-per-tenant isolation, you build that
yourself; the data model docs explain
the trade-off.
Create organizations, manage members, and switch workspaces. Seeded sample data lets you test the full flow locally.
Owner, admin, and member roles out of the box, with custom roles and permissions through Better Auth's access control API.
Email invites with signed, expiring, single-use tokens. Admins can resend, revoke, or change the role of pending invites.
Seat quantity is counted from organization members at checkout and synced when people join or leave.
More specifics, each backed by the docs:
/dashboard/[organization], the slug is the source of truth, and the session's activeOrganizationId is kept in sync (active organization).The tenant is resolved on the server first, then every query is scoped by the verified organizationId. In a server component, read the organization from the URL slug:
import { getOrganization } from "~/lib/auth/server";
export default async function Page({
params,
}: {
params: Promise<{
organization: string;
}>;
}) {
const organization = (await params).organization;
const activeOrganization = await getOrganization({ slug: organization });
return <>{activeOrganization?.name}</>;
}On the API side, the Hono middleware stack checks the session and membership before your handler runs, and your query filters by tenant:
// After enforceAuth + enforceMembership({ organizationId })
const projects = await db.query.project.findMany({
where: eq(project.organizationId, organizationId),
});The rule the access control docs repeat: never authorize from a client-provided organizationId alone. Resolve the session, verify membership or permissions for that organization, then query.
Permission checks use Better Auth's API, on the server for real enforcement and on the client to hide UI:
const canCreateProject = await authClient.organization.hasPermission({
permissions: {
project: ["create"],
},
});Organization admin is not super admin
The organization admin role only governs one tenant. The global admin role
controls the super admin dashboard, where you can
see all organizations across the platform.
So you know where the template stops:
acme.yourapp.com) are a documented recipe using Next.js Proxy, not the default routing.members plan limit before sending an invite.Not building B2B? You can disable organizations for a personal-accounts product, or disable personal accounts so every user must create or join a workspace first.
Check out these similar stacks. Explore these carefully curated alternatives that share similar technologies and approaches.
Launch a scalable SaaS faster with an Expo-powered mobile starter kit featuring multi-tenant auth, roles, billing-ready architecture.
Launch your SaaS faster with a production-ready Next.js + TypeScript starter kit: auth, API routes, DB integration, CI/CD, and reusable UI components.
Next.js admin dashboard template for SaaS: manage users and organizations, impersonate, ban, and review billing, wired to Better Auth roles and Drizzle.
Production-ready Next.js AI SaaS starter kit — Vercel AI SDK, OpenAI streaming, usage tracking, auth, billing, and mobile AI templates in one monorepo.
Launch your SaaS faster with a Next.js analytics boilerplate: TypeScript, event tracking, dashboards, auth, and plug-and-play integrations.
Production-ready Next.js auth boilerplate with Better Auth — OAuth, MFA, passkeys, organizations, billing, and admin in one lifetime license.
Pay once and build unlimited projects with our powerful starter kits.
All SaaS features, ongoing updates, lifetime access and many more to help you ship faster.
$199$349
Lifetime licenseBest choice - includes Core, AI, and Edge kits with ongoing updates.
$499$649
Lifetime licensePrices in USD. VAT may apply. By purchasing, you agree to the EULA and Terms of Service.
Book a FREE call or send us a message. Happy to help!
Read why tech and non-tech (!) people are raving about TurboStarter and how it has accelerated their product launches.
Kudos for shipping! The landing page looks very nice.
Teacher @Cursor, prev @Vercel
I have to say, the approach to product/system design has really impressed me.It's truly become a gold standard that I look up to. Keep it up!
Founder of @Evergreen
The best starter on the market, don't overthink it. Worth every penny. Just buy it!
Founder of @Omichat
The coding setup and dev experience are top-notch. I'm shipping products faster than ever. Btw, already launched my first extension!
Software Engineer
TurboStarter's solid architecture and built-in AI guidance let me ship faster without sacrificing quality. I've built projects for all 11 of my new clients with it.
Founder of @Shibui
TurboStarter exceeded my expectations - setup was super fast, and I was building features right away. If you want to skip boilerplate and move fast, this kit is for you!
Founder of @ClaudeFast
Below are some of the SaaS projects that have been built with our starter kit.
See all projects
Monitor any Telegram channel in real time - track posts, edits, deletions, and growth with AI recaps 📡

AI website builder - describe your business, pick a niche template, edit by chatting, and publish instantly ✨

Find verified home service professionals, compare quotes, and pay securely through escrow - built for Brazilians across the US 🏠

Fix your SEO with AI agents - connect Search Console, get prioritized tasks, and grow organic traffic 📈

Sync your favorite content for distraction-free reading, save time and replace multiple apps. Anytime, anywhere 🔄

Get clean, structured data from 21 platforms like TikTok, Instagram, and YouTube with a single request 📊

Monitor any Telegram channel in real time - track posts, edits, deletions, and growth with AI recaps 📡

AI website builder - describe your business, pick a niche template, edit by chatting, and publish instantly ✨

Find verified home service professionals, compare quotes, and pay securely through escrow - built for Brazilians across the US 🏠

Fix your SEO with AI agents - connect Search Console, get prioritized tasks, and grow organic traffic 📈

Sync your favorite content for distraction-free reading, save time and replace multiple apps. Anytime, anywhere 🔄

Get clean, structured data from 21 platforms like TikTok, Instagram, and YouTube with a single request 📊

Monitor any Telegram channel in real time - track posts, edits, deletions, and growth with AI recaps 📡

AI website builder - describe your business, pick a niche template, edit by chatting, and publish instantly ✨

Find verified home service professionals, compare quotes, and pay securely through escrow - built for Brazilians across the US 🏠

Fix your SEO with AI agents - connect Search Console, get prioritized tasks, and grow organic traffic 📈

Sync your favorite content for distraction-free reading, save time and replace multiple apps. Anytime, anywhere 🔄

Get clean, structured data from 21 platforms like TikTok, Instagram, and YouTube with a single request 📊

Monitor any Telegram channel in real time - track posts, edits, deletions, and growth with AI recaps 📡

AI website builder - describe your business, pick a niche template, edit by chatting, and publish instantly ✨

Find verified home service professionals, compare quotes, and pay securely through escrow - built for Brazilians across the US 🏠

Fix your SEO with AI agents - connect Search Console, get prioritized tasks, and grow organic traffic 📈

Sync your favorite content for distraction-free reading, save time and replace multiple apps. Anytime, anywhere 🔄

Get clean, structured data from 21 platforms like TikTok, Instagram, and YouTube with a single request 📊

Personalized AI apps that automate research, data extraction, and content creation without code 🤖

Enjoy a magical live video chat or receive a unique AI-generated video greeting from Santa Claus 🎅

Scalable blog for food journalist, focused on performance and user experience 🌭

Personal blog and portfolio of Bart Zagrodzki, where he shares his knowledge and work 💼

Ship your startup everywhere. In minutes.

Convert HTML to Markdown with ease, directly in your browser 📄

Personalized AI apps that automate research, data extraction, and content creation without code 🤖

Enjoy a magical live video chat or receive a unique AI-generated video greeting from Santa Claus 🎅

Scalable blog for food journalist, focused on performance and user experience 🌭

Personal blog and portfolio of Bart Zagrodzki, where he shares his knowledge and work 💼

Ship your startup everywhere. In minutes.

Convert HTML to Markdown with ease, directly in your browser 📄

Personalized AI apps that automate research, data extraction, and content creation without code 🤖

Enjoy a magical live video chat or receive a unique AI-generated video greeting from Santa Claus 🎅

Scalable blog for food journalist, focused on performance and user experience 🌭

Personal blog and portfolio of Bart Zagrodzki, where he shares his knowledge and work 💼

Ship your startup everywhere. In minutes.

Convert HTML to Markdown with ease, directly in your browser 📄

Personalized AI apps that automate research, data extraction, and content creation without code 🤖

Enjoy a magical live video chat or receive a unique AI-generated video greeting from Santa Claus 🎅

Scalable blog for food journalist, focused on performance and user experience 🌭

Personal blog and portfolio of Bart Zagrodzki, where he shares his knowledge and work 💼

Ship your startup everywhere. In minutes.

Convert HTML to Markdown with ease, directly in your browser 📄

Chat with 50+ AI models, including ChatGPT and Claude, in one place - switch models anytime without losing context 🤖

Supercharge your Claude Code with 6x effective context window and specialized AI agents 🤖

AI-powered emoji picker with smart, context-aware suggestions 🤖

Autonomous company launcher - AI agents work 24/7, escalate what matters, and you stay in control 🤖

Practice storytelling daily with instant feedback to sound clearer, more engaging, and confident 🎤

Chat with 50+ AI models, including ChatGPT and Claude, in one place - switch models anytime without losing context 🤖

Supercharge your Claude Code with 6x effective context window and specialized AI agents 🤖

AI-powered emoji picker with smart, context-aware suggestions 🤖

Autonomous company launcher - AI agents work 24/7, escalate what matters, and you stay in control 🤖

Practice storytelling daily with instant feedback to sound clearer, more engaging, and confident 🎤

Chat with 50+ AI models, including ChatGPT and Claude, in one place - switch models anytime without losing context 🤖

Supercharge your Claude Code with 6x effective context window and specialized AI agents 🤖

AI-powered emoji picker with smart, context-aware suggestions 🤖

Autonomous company launcher - AI agents work 24/7, escalate what matters, and you stay in control 🤖

Practice storytelling daily with instant feedback to sound clearer, more engaging, and confident 🎤

Chat with 50+ AI models, including ChatGPT and Claude, in one place - switch models anytime without losing context 🤖

Supercharge your Claude Code with 6x effective context window and specialized AI agents 🤖

AI-powered emoji picker with smart, context-aware suggestions 🤖

Autonomous company launcher - AI agents work 24/7, escalate what matters, and you stay in control 🤖

Practice storytelling daily with instant feedback to sound clearer, more engaging, and confident 🎤

Join our community to get feedback, support, and grow together with 1,000+ builders on board, let's ship it!
Join usHave another question? We've got answers. Contact us on Twitter or through our contact page.
See technical FAQDon't burn tokens on setup and start building features on day one.