How TenancyEngine works
TenancyEngine gives your SaaS product the parts every B2B product needs before its first paying customer: sign-in, customer organizations with roles, plans and entitlements, and subscription billing. You keep building your product; you call TenancyEngine for the rest.
The pieces
| Piece | Where | What it does for you |
|---|---|---|
| Console | console.tenancyengine.com | Register applications, manage customers and their plans, create API keys, and see activity. |
| Sign-in and runtime API | auth.saasruntime.com, api.saasruntime.com | Hosted sign-in for your end users, tokens for your app, and the API your backend calls to check features, limits, and usage. |
| Billing | billing.tenancyengine.com | Subscriptions, invoices, and payment methods for your customers. |
Core concepts
| Concept | Meaning |
|---|---|
| Application | Your product. Each application has its own branding, sign-in settings, plans, and API keys. |
| Environment | Development, staging, and production copies of an application, so you can try changes without touching live customers. |
| Customer organization | One of your customers. Each gets an isolated workspace with its own members and roles. |
| Features and limits | What a plan includes. Your backend checks these before doing work. |
| API key | A server-side credential that lets your backend call the runtime API. Scope it to what the backend needs. |
Design principles
- One sign-in for every app. Your users sign in on a hosted page that carries your app's name, logo, and color.
- Your app talks to the runtime API only. Production SDK configuration points at
auth.saasruntime.comandapi.saasruntime.com. - Isolation by default. Every request is scoped to a customer organization.
- Same shape in every environment. Development, staging, and production use the same settings and endpoints.
Next steps
- Quickstart - create an app, mint a key, make your first call
- SDK reference - install commands for every language and platform
- Hostnames and endpoints - the addresses your app uses
- Sign-in, MFA, and notifications