Skip to main content

Multitenant architecture

Multitenant architecture

Multitenant architecture is a design where one application is used by many different customers, but each customer has their own separate and secure space within that application. Even though they all share the same system, their data and settings are kept private. This setup helps keep costs down and makes it easier to manage and update the application since everything is handled in one place. Itโ€™s commonly used in cloud services and online software to serve many users efficiently.

In a multitenant system, think of it like an apartment building where each tenant (or customer) has their own apartment. They all live in the same building, but they have their own private spaces, and they donโ€™t have access to each otherโ€™s apartments. The building owner (the application provider) can maintain the entire building more easily because everything is in one place. This setup allows for quick updates and efficient use of resources, benefiting both the owner and the tenants. Itโ€™s a popular approach for online services, helping businesses serve many customers at once without needing separate systems for each.

With JWT login, the Tenant ID is embedded in the accessToken, so the x-tenant-id header is only required for authentication requests. If included anywhere else, it is ignored and replaced by the Tenant ID in the token.

In our system this means that your data is stored in its own database inaccessible by other clients. In case you want to deploy our application on your own infrastructure we can give you a single-tenant variance of the system