Skip to content

SMTA — SaaS Multi-Tenant Architecture

Bootstrap your multi-tenant SaaS database in minutes, not months.

SMTA is an open-source PostgreSQL multi-tenancy framework. It provides the tenant isolation, membership management, auditing, and billing integration that every SaaS application needs — so you can focus on building your product instead of reinventing infrastructure.

  • Tenant isolation via PostgreSQL Row-Level Security (RLS)
  • Org and unit hierarchy for flexible team structures
  • Soft deletion and no-code auditing at the database level
  • Adapter model — the same full feature set under Supabase or Payload CMS
  • Billing integration for Stripe and Lemon Squeezy
  • Plain SQL — no extensions, no magic, just PostgreSQL