Why multi-tenancy matters
"We sell to hundreds of companies. Each one needs to feel like they have their own private CRM. But if we set up a brand-new server and database for every single customer, our costs and workload explode before we even reach a hundred customers."
This is called multi-tenancy: many customers โ called "tenants" โ sharing one platform, the way many businesses rent space in the same office building. Each tenant wants isolation: a guarantee that only their own company can ever see their own data. But building a separate, private system for every customer would cost far too much. SmartLite has to share infrastructure to stay affordable, without ever letting one customer see another customer's data.
Anatomy of tenant isolation
An org (short for "organization") is SmartLite's word for one customer company's account. SmartLite stores every org's data in the very same shared database and the very same tables. So how does one org's data stay hidden from every other org? A chain of checks runs on every single request. Here's the chain, step by step:
| Step | Mechanism | What it guarantees |
|---|---|---|
| 1. Login | You get a login token โ called a JWT โ with your company's ID stored inside it | Every request after that can prove which org it belongs to |
| 2. Request enters | SmartLite reads your company's ID out of that token and keeps it on hand for the rest of the request | The current org is known for the entire request, start to finish |
| 3. Every query | Every read and write is automatically limited to that company's ID | You can only ever see or change your own org's records |
| 4. Every single-record fetch | One more check confirms the record actually belongs to your company before it's shown to you | Even a guessed or leaked internal ID can't be used to read another org's record |
An object in SmartLite is just a type of record โ think Lead, Contact, or Account โ like a labeled folder or a spreadsheet tab. Registering a brand-new org sets everything up in one step. It creates the organization, its first Admin user, and all 16 standard objects (Lead, Contact, Account, Opportunity, Case, and more). A new customer can start working right away โ no manual setup needed from your team.
1 Register a new org and prove the isolation
/org/register in your browser โ this is SmartLite's sign-up page.orgId value in each org's token.Day-to-day: a new customer signing up
/org/register and gets a fully set-up account with standard objects already in place โ no waiting on manual provisioning.