Tenants
AS Community is a multi-tenant platform. Every comment widget is scoped to a tenant, which controls everything from API routing and branding to feature flags, behavior, and theming.
What Is a Tenant?
A tenant is an independently configured brand or publication. Examples: welt, bild, business-insider. Each tenant:
- Routes requests to its own API endpoint via
api.baseUrl - Has its own branding (display name, optional logo and primary color)
- Can enable or disable features (voting, replies, AI personas, etc.)
- Controls comment behavior (sort order, pagination, reply depth)
- Applies its own visual theme via CSS custom property overrides
Tenant Config Structure
The full config is validated with Zod on load. Top-level fields:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | Machine-readable tenant ID — lowercase alphanumeric + hyphens |
api | TenantApi | ✅ | API connection settings |
branding | TenantBranding | ✅ | Display name and optional logo |
theme | TenantTheme | — | CSS custom property overrides |
features | TenantFeatureFlags | — | Feature flag overrides |
behavior | TenantBehavior | — | Behavioral configuration |
locale | TenantLocale | — | i18n settings |
Learn More
- Configuration Reference — full field-by-field reference with all defaults
- Theming Guide — how to apply brand colors and customize the widget appearance