Skip to content

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:

FieldTypeRequiredDescription
idstringMachine-readable tenant ID — lowercase alphanumeric + hyphens
apiTenantApiAPI connection settings
brandingTenantBrandingDisplay name and optional logo
themeTenantThemeCSS custom property overrides
featuresTenantFeatureFlagsFeature flag overrides
behaviorTenantBehaviorBehavioral configuration
localeTenantLocalei18n settings

Learn More