Multi-tenancy
Multi-tenancy in ThingsBoard enables a single platform instance to securely serve multiple tenants.
A Tenant is a top-level logical entity that represents an organizational boundary (for example, an independent business entity, company, customer segment, or business unit) and encapsulates all related IoT entities and configurations, including devices, assets, dashboards, rule chains, users, and other tenant-specific resources.
Isolation and security
Section titled “Isolation and security”Multi-tenancy in ThingsBoard is implemented through strict logical isolation:
- Each entity belongs to exactly one tenant.
- Permissions are enforced by role-based access control.
- Tenant Administrators cannot access resources belonging to other tenants.
- System Administrators have global visibility across all tenants.
This ensures secure tenant data isolation, even when multiple tenants operate within the same platform instance while sharing the underlying infrastructure.
Tenant management
Section titled Tenant managementTenants are created and managed by the system administrator.
Create tenant
Section titled Create tenant- Log in to ThingsBoard as a System administrator.
- From the sidebar, navigate to Tenants.
- Click the + Add tenant in the top right corner.
- Enter a title.
- Use the default tenant profile or select a different one.
- Optionally, provide an address, phone number, contact email.
- Click Add.
Once created, the tenant becomes available in the tenants list.
Edit tenant
Section titled Edit tenant- From the sidebar, navigate to Tenants.
- Click the tenant row to open its details.
- Click the orange pencil icon (Edit) to enter edit mode.
- Update the tenant information.
- Apply changes.
Delete tenant
Section titled Delete tenantClick the trash icon next to the tenant and confirm deleting, or open the tenant details page and click Delete tenant.
Tenant administrator management
Section titled Tenant administrator managementTenant administrator is a user with full administrative permissions who manages all tenant-scoped entities and configuration. All operations are isolated within the tenant context and do not affect other tenants in the system.
Create tenant administrator
Section titled Create tenant administrator- From the sidebar, navigate to the Tenants.
- In the Tenants list, click Manage tenant admins for Tenant.
- Click + Add user in the top right corner.
- Enter the user’s email address. Optionally, provide first and last name, and phone number.
- Choose the user activation method:
- Display activation link — generates an activation link that you can copy and share manually.
- Send activation mail — sends the activation link to the specified email address (requires a configured mail server).
- Click Add.
After creation, the tenant administrator can log in and manage tenant resources.
Edit tenant administrator
Section titled Edit tenant administrator- From the sidebar, navigate to Tenants.
- Click Manage tenant admins for Tenant.
- Click the Tenant administrator row to open its details.
- Click the orange pencil icon (Edit) to enter edit mode.
- Update the tenant information.
- Apply changes.
Enable/disable user account
Section titled Enable/disable user accountThingsBoard allows administrators to temporarily block a user’s access to the platform without deleting the account. Disabled users cannot log in or access any tenant resources.
To enable or disable a user account:
- From the sidebar, navigate to Tenants.
- Click Manage tenant admins for desired Tenant.
- Click the User row to open its details.
- Click Enable/Disable User Account.
Delete tenant administrator
Section titled Delete tenant administratorClick the trash icon next to the tenant administrator user and confirm the deletion, or open the user details page and click Delete user.
Login as tenant administrator
Section titled Login as tenant administratorSystem Administrators can log in as a Tenant Administrator directly from the tenants list by using the Login as tenant admin action.
This is useful for troubleshooting tenant-specific issues and verifying tenant configuration.
Best practices
Section titled Best practicesTo ensure stable and secure multi-tenant deployments:
- Use Tenant Profiles to enforce quotas and prevent excessive resource usage.
- Assign at least two Tenant Administrators per tenant for redundancy.
- Use consistent naming conventions for tenants and customer structures.
- Monitor message throughput and entity limits for each tenant.