Back to blog
B2BSaaSArchitecture

B2B Multi-Tenancy: Serving Institutions at Scale

How we isolate tenants, customize prompts per institution, and ship a credible enterprise tier on a startup budget.

SK
Sneha Kapoor
18 April 2025
7 min read

Tenant isolation

We chose shared schema + row-level security over schema-per-tenant. It scales better for ~1,000 tenants and keeps migrations sane.

Per-institution prompts

Each tenant can override:

  • the tutor persona ("explain like a CMU professor")
  • the allowed subjects (a bootcamp may disable OS deep-dives)
  • the language and tone (Hindi-first, English-first, code-first)

White-labeling

A widget script + tenant key embeds the tutor inside the institution's LMS. Brand colors and logo are pulled from the tenant config at render time.

SLA

Enterprise tier: 99.9% uptime, p95 < 3s, 24h support response. Backed by per-tenant rate limits and circuit breakers around the LLM provider.

Share

Keep reading