Ship a serious SaaS product without wiring the boring parts twice.
Ship multi-tenant B2B SaaS faster with TanStack Start, Stripe, Better Auth—and built-in SEO: canonical URLs, Open Graph, JSON-LD, sitemap, and robots.
Overview
Welcome to yournextsaas
KPIs reflect your workspace memberships. If you are a platform admin, you also get all-tenant metrics and estimated MRR from catalog prices and Stripe price ids in env.
Workspaces
2
Your memberships
Billing (paying / total)
2/2
Active or trialing vs orgs you belong to
Events (7d)
83
Tracked product events in your scope
API keys
9
Across your workspaces
Analytics
Usage overview
Events (7d)
Recent events
Your scope · 5 rows
- Subscription activatedWorkspaceorg-demo-1Stripe subscriptionsub_01HZZZZPlanprice_pro
- Workspace createdWorkspaceorg-demo-1Workspace slugacme-production
- Account createdSourceinvite
- webhook.pingWorkspaceorg-demo-2
- Subscription activatedWorkspaceorg-demo-2Stripe priceprice_team
Subscriptions
Members / workspace
API keys
Open billing to manage your workspace subscription.
Platform
Everything you expect from a modern B2B stack
Same tokens, components, and motion language as your signed-in experience — so marketing and product feel like one product.
Tenancy
Organizations & roles
Users belong to workspaces with owner, admin, and member roles — ready for real team workflows.
Revenue
Stripe subscriptions
Checkout, webhooks, and subscription state synced to your database — configure prices and go.
Access
API keys & server actions
Issue keys, guard routes, and keep domain logic on the server where it belongs.
Insight
Analytics-ready events
Structured event logging so you can chart usage and ship operator dashboards with confidence.
Trust
Security-minded defaults
Session handling and tenant-scoped data patterns designed for products that scale past the demo.
Discoverability
SEO that ships with the boilerplate
Per-route titles and descriptions, canonical URLs, robots tuned for public vs app areas, Open Graph and Twitter cards, JSON-LD for WebSite, Organization, SoftwareApplication, FAQ, and breadcrumbs—plus a live sitemap. Set VITE_SITE_URL and optional verification or social handles; full checklist lives in docs/seo.md.
Built for teams that outgrow the starter kit
TanStack Start, Drizzle, and shadcn/ui — typed end-to-end so you can extend the boilerplate without fighting the architecture.
Under the hood
The unglamorous stuff your customers still expect
Webhooks with signatures, an org-scoped audit trail, team invites, and a platform view for operators — patterns that ship in the app today, not on a backlog slide.
X-YNS-Event: workspace.updated
X-YNS-Delivery: del_8k2m9q1
Inbox preview
You have been invited to Acme Corp
Accept on a secure link with /invite/<token>. Roles: owner, admin, or member.
Platform admins open the same shell as tenants and get cross-workspace KPIs, catalog-based MRR signals, and the telemetry you already emit.
Active orgs
128
Est. MRR
$48k
Failed hooks
0.1%
Guided onboarding inside the app
A checklist route walks new workspaces through the basics so your trial-to-activated curve is not left to documentation alone.
- Create workspace
- Connect billing
- Issue first API key
FAQ
Search, social, and structured data—answered
Same questions power FAQPage JSON-LD on the home route when VITE_SITE_URL is set—keep copy in sync via src/lib/landing-faq.ts.
- What is YourNextSaaS?
- A production-minded B2B SaaS boilerplate: multi-tenant organizations, Stripe subscriptions, webhooks, audit logs, and a TanStack Start + React stack you can extend without fighting the architecture.
- Does the starter include SEO best practices?
- Yes. Public routes ship with canonical URLs, meta descriptions, Open Graph and Twitter cards, JSON-LD (WebSite, Organization, SoftwareApplication, FAQPage, breadcrumbs), a dynamic sitemap, and a robots file that keeps /app and /api out of the index.
- How do I set my production domain for SEO?
- Set VITE_SITE_URL to your public origin (no trailing slash). That value powers canonical links, social preview URLs, JSON-LD @id fields, and the sitemap. Optional env vars can add Google Search Console verification and a Twitter/X @handle for cards.
- Can I ship my own marketing site separately?
- Absolutely. The patterns live in src/lib/seo-meta.ts and route head() functions—reuse or replace them if your marketing site is another repo; the app area stays noindex by design.
Flow
From zero to first workspace in minutes
Authenticate
Email sign-up and sessions powered by Better Auth — same flow your app already uses.
Create a workspace
Spin up an organization, invite teammates, and keep data scoped per tenant.
Subscribe when ready
Connect Stripe prices and let billing follow the workspace, not the user account.
Ready to build on a foundation that matches your roadmap?
Clone the boilerplate, ship your differentiator, and keep ops, billing, and access control on rails.