Skip to main content
ChatbotX Self Hosting is available in two editions:
  • Community Edition: The core open-source self-hosted platform, ideal for individuals and small teams deploying independently.
  • Enterprise Edition: Adds centralized management, advanced authentication, platform audit logs, and commercial White Label capabilities for organizations and enterprises.
Enterprise Edition requires a valid commercial license key (LICENSE_KEY) issued by ChatbotX. Changing environment variables only takes effect when paired with a valid cryptographically signed license.

Community and Enterprise Comparison

Workspace allowances and user quotas in Enterprise Edition depend on the terms of your commercial license agreement.

Activate Enterprise Edition

To transition your Self-Hosted installation from Community to Enterprise, configure the appropriate environment variables in your Docker Compose setup.
1

Open the deployment directory

SSH into your server and navigate to your active Docker Compose directory:
2

Expose license variables in Compose

Open your docker-compose.yml file:
Under the shared environment block (x-environment: &common-vars), configure Compose to read the edition and license from .env:
3

Add your license key to .env

Open the .env file in the same directory:
Set the edition to enterprise and paste your signed license key:
Protect the environment file with appropriate permissions:
4

Validate the Compose configuration

Verify that Docker Compose resolves the Enterprise environment variables while redacting sensitive license tokens:
Confirm that the output displays NEXT_PUBLIC_EDITION: enterprise and LICENSE_KEY: [REDACTED].
5

Recreate services

Recreate the builder container to apply the updated configuration:
If the worker service shares the environment, recreate it as well.

License Lifecycle & Grace Period

ChatbotX Enterprise uses Ed25519 cryptographic signatures with complete offline verification capability, ensuring seamless operation in air-gapped environments.
  • Recurring License Refresh: For subscription-based agreements (monthly or annual), a background worker job automatically checks and refreshes license tokens every hour without requiring application restarts or manual intervention.
  • 7-day Grace Period: If a payment or renewal is temporarily interrupted, the system does not abruptly disable your enterprise features. The license state transitions to grace for 7 days. All enterprise capabilities remain fully accessible, accompanied by reminders in the Admin UI so your team has ample time to complete renewal.
  • Expiry After Grace: If the license is not renewed within the 7-day window, the installation reverts to expired status and falls back to Community Edition allowances.

Configure SMTP Email Delivery

System emails are essential for account verification, password resets, and workspace invitations. Enterprise Edition provides two configuration approaches: Enterprise administrators can configure system email delivery directly from the browser without server access:
1

Navigate to SMTP settings

Log in as a Super Admin, visit /admin, and select SMTP under the Enterprise menu group.
2

Enter mail server connection details

Provide your SMTP credentials:
  • SMTP Server: Connection URL (e.g., smtps://username:password@smtp.gmail.com:465 or smtp://username:password@smtp.sendgrid.net:587).
  • Sender Identity: Sender name and address (e.g., System Notifications <support@yourcompany.com>).
3

Save and verify

Click Save. The settings are stored in the database and take effect immediately without restarting containers. System email functionality remains available even if the enterprise license enters a grace period.

Method 2: Environment Variables (Fallback)

If no database-level SMTP configuration is defined, the system automatically falls back to values defined in .env:
If your email username includes an @ symbol, encode it as %40 in the connection URL.

OIDC Authentication & Signup Gate

To secure private organizational deployments, Enterprise Edition offers comprehensive access controls:
  • Single Sign-On (Generic OIDC SSO): Integrates with enterprise identity providers (Okta, Keycloak, Google Workspace, Auth0) using standard OpenID Connect. User profiles are mapped directly upon sign-in.
  • Registration Lockdown (Signup Gate): Setting AUTH_DISABLE_SIGNUP=true in .env closes public registration across the platform. New users can only create accounts when following an invitation link generated by an authorized workspace administrator.

Administrator Roles

At /admin/admins, Super Admins can manage team access across two distinct roles:
  • Super Admin: Complete platform control, including license management, system configuration, audit logs, and adding/removing other administrators.
  • Support: Tailored for technical assistance and customer support personnel. Support accounts cannot alter license settings or modify platform administrator access. Role changes and revocations take effect immediately.
By default, platform administrators require approval from a workspace owner before accessing their workspace for troubleshooting. If your enterprise policy permits platform administrators to inspect and assist workspaces without requiring owner opt-in, configure the following environment variable in .env:
When set to false on a licensed Enterprise deployment, Super Admins can access workspaces directly to diagnose and resolve issues efficiently.

Verify Enterprise Features

Verify your installation after completing the configuration:
1

Sign in again

Sign out and sign back in with your Super Admin account in the browser.
2

Confirm startup logs

Review the builder service logs to confirm license verification:The log should display: License verified with tier: enterprise and state: valid.
3

Inspect the /admin navigation

Visit /admin and confirm the presence of the Enterprise section in the sidebar:
  • Admins: Manage super-admin and support team members.
  • Audit Logs: Cross-workspace administrative activity history.
  • SMTP: Browser-based mail server configuration.
  • Platform Branding & Email Templates: White Label controls.
Enterprise Platform Credentials

Troubleshooting

Your LICENSE_KEY contains proprietary entitlements for your organization. Store it securely and never expose it in public repositories or insecure communications.