B2B stack · SEO-ready marketing

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.

YourNextSaaS · live dashboard preview

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.

Create account

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.

Webhook delivery
POST /hooks/workspace200 OK

X-YNS-Event: workspace.updated

X-YNS-Delivery: del_8k2m9q1

Retrying with backoff on failure
Audit log
WhenActorAction
Just nowjordan@acme.coapi_key.created
2m agobilling@acme.costripe.checkout.completed
Team invites

Inbox preview

You have been invited to Acme Corp

Accept on a secure link with /invite/<token>. Roles: owner, admin, or member.

Accept invitation
Operator console

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

01

Authenticate

Email sign-up and sessions powered by Better Auth — same flow your app already uses.

02

Create a workspace

Spin up an organization, invite teammates, and keep data scoped per tenant.

03

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.

Command palette

Jump to a page or run an account action.