Launch a B2B SaaS
Sign-in, customer organizations, plans, and billing without building them first.
For developers building SaaS
TenancyEngine gives your app customer sign-in, workspaces with roles, plans and subscription billing, SMS, file storage, AI, and custom domains. One API key. One .NET SDK. A REST API for every other language.
Free Starter plan: 1 app and 5 customer workspaces, production only. No credit card.
dotnet add package TenancyEngine.Sdk
Your code, not ours
Ask TenancyEngine what a customer is allowed to do, then record what they used. Your plans, limits, and billing stay in one place, and your code stays short.
// A customer calls your API: check their plan, then meter the call.
var context = await te.GetRuntimeContextAsync("my-app", "Production", tenantId, ct);
if (context is null || !context.Features.Contains("reports"))
return Results.StatusCode(StatusCodes.Status403Forbidden);
await te.ConsumeUsageAsync("my-app", tenantSlug, "Production", "reports",
amount: 1, idempotencyKey: $"report-{requestId}", ct: ct);
// requestId is the id of this request or job, so a retry is counted once.Each page says what is covered, which plan fits, and where you will still need something else.
Sign-in, customer organizations, plans, and billing without building them first.
MFA, SCIM directory sync, an audit log, and an honest answer on SAML.
Limits per plan, usage you count once, alerts before customers hit the cap.
Audience-bound tokens and scopes people can read, for your own MCP server.
A staged move to standard sign-in, customer by customer.
Buyer, vendor, and staff roles, with vendor onboarding through Stripe Connect.
Each capability is available on the plan shown. See the pricing page for limits.
Standard OpenID Connect with MFA and passkeys. Use any OpenID Connect library. There is no identity server to run.
All plans
Give every customer an isolated workspace with its own members and roles. On Growth and above, support staff can step into a customer view from the console.
All plans. Starter allows 5 workspaces
Sell subscription and usage-based plans with invoices, failed-payment recovery, and a customer billing portal. Gate features by the customer plan.
Growth and above
Send SMS from your backend with one call. Invoices, receipts, and payment reminders go out as email without extra setup.
SMS needs an API key with the SMS scope
Request upload URLs, store private files per app or per customer, and give the customers who paid for a file access to download it.
API key with storage scopes
Extract structured data from text with a schema you choose, and let AI assistants work with your setup over MCP.
Growth and above
Serve your portal, billing pages, and marketing site from your own domain. DNS is verified for you.
Growth and above
Set up apps, features, and roles in development and staging, then promote them to production without touching live customer data.
Growth and above
Create an application in the console and make an API key. Starter gives you one app that runs in Production.
Point your OpenID Connect library at TenancyEngine, then create a workspace for each new customer from your backend.
Check the customer plan on each request. Turn on billing when you are ready to charge. That starts on Growth.
These samples use the released TenancyEngine.Sdk package on NuGet.
builder.Services.AddHttpClient("TenancyEngine",
c => c.BaseAddress = new Uri("https://api.saasruntime.com"));
builder.Services.AddSingleton(sp => new TenancyEngineClient(
sp.GetRequiredService<IHttpClientFactory>().CreateClient("TenancyEngine"),
builder.Configuration["TenancyEngine:ApiKey"]));// A new customer signs up: give them their own workspace.
var tenant = await te.CreateTenantAsync("my-app",
new CreateTenantRequest(body.CompanyName, body.Slug), ct);// TenancyEngine calls you: verify the signature before you trust the event.
using var reader = new StreamReader(req.Body);
var rawBody = await reader.ReadToEndAsync();
var signature = req.Headers["X-TE-Signature"].ToString();
return WebhookSignatureVerifier.Verify(rawBody, signature, webhookSecret)
? Results.Ok()
: Results.BadRequest();Products from the TenancyEngine team use the same sign-in, workspaces, and billing you get.
Scheduling, registration, and payments for dance and fitness studios.
Status pages and incident updates for your customers.
Regulated food labels with nutrition facts, allergens, and GS1 barcodes.
A visual site builder and CMS for product teams.
A marketplace connecting homeowners with local service pros.
A coaching marketplace with booking and memberships.
A marketplace for digital assets with purchase-gated delivery.
Start free. Pay when you need more apps, environments, or billing.
The .NET SDK is on NuGet today. Every capability is also a REST API, so any language that can make an HTTPS request works. SDKs for TypeScript, Python, Go, Java, PHP, and Ruby are on the way; contact us for early access.
Your app signs users in with standard OpenID Connect, so any OpenID Connect library works. Sign-in includes MFA and passkeys.
One app and up to five customer workspaces, running in Production only. Billing, extra environments, custom domains, AI, and MCP access start on Growth.
Billing is included from the Growth plan, so you can start charging without a separate billing vendor. If you already have a Stripe account, you can connect it instead.
No. Keep your own hosting. TenancyEngine handles sign-in, workspaces, plans, billing, and the services around them, and your app calls it.
SCIM directory sync is available; SAML single sign-on is not. If your first customers require SAML, a specialist identity vendor is the better fit for that part.
Start on the free Starter plan. Upgrade when your customer list grows.
Request access