From Zero to Multi-Tenant
Add tenant isolation to any Node.js app in under 10 minutes. SDK, framework adapters, and a management API included.
Tenant isolation, plan enforcement, audit logging, and billing โ in minutes, not months.
npm install @tenantscale/sdkThen add one middleware to your app:
import { TenantScale } from '@tenantscale/sdk'
const ts = new TenantScale({
supabaseUrl: process.env.SUPABASE_URL!,
supabaseKey: process.env.SUPABASE_SERVICE_KEY!,
})
// Protect any route
app.use('/api/*', ts.authenticateApiKey())Continue to the Quick Start โ
| Package | Description | License |
|---|---|---|
@tenantscale/sdk | Core SDK โ auth, plans, audit, billing | MIT |
@tenantscale/express | Express.js middleware | MIT |
@tenantscale/hono | Hono.js middleware | MIT |
@tenantscale/next | Next.js App Router adapter | MIT |
@tenantscale/react | React hooks & context | MIT |
@tenantscale/cli | CLI tools โ init, migrate | MIT |
create-tenantscale-app | Full-stack starter | MIT |
@tenantscale/api | Management API (self-hosted) | BSL 1.1 |