Skip to main content
Tenants can be created from multiple sources:
  1. Automatically from their contact email address domain.
  2. Directly in the Plain UI
  3. From the existing organizational entities in your CRM using one of our CRM integrations
  4. Through Plain’s API
Customers can belong to multiple tenants.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
When created via the API, tenants can be structured however you choose. For example, if you organized customers in a team in your product. You could then create one tenant per team. Each tenant has an externalId parameter that you can use to map the tenant back to an entity in your database. For advanced integrations with Plain you can specify a tenant when creating a thread. This is useful when building a support portal in your product as it allows you to fetch threads specific to a team in your product. Additionally tiers and SLAs can be associated with a tenant.