π This page is for engineering teams self-hosting their own Lightdash instance. If you want to learn about enterprise features and pricing, go to lightdash.com/pricing.
Getting an enterprise license key
To obtain an enterprise license key for your self-hosted Lightdash instance:- Contact our team β schedule a call with our enterprise team to discuss your requirements.
- Receive your license key β the Lightdash team will share a unique license key with you (typically via 1Password).
Configuring your license key
Set the license key on every Lightdash container (backend, scheduler, and workers) via theLIGHTDASH_LICENSE_KEY environment variable.
- Environment variable
- Helm (Kubernetes)
- Docker Compose
License validation and network requirements
On server start, Lightdash validates your enterprise license key by making an outbound HTTPS request to the Keygen license validation API:- Endpoint:
https://api.keygen.sh - Purpose: validates the license key provided via the
LIGHTDASH_LICENSE_KEYenvironment variable - When: on every Lightdash server start
Your Lightdash instance must be able to reach
https://api.keygen.sh on server start. This is the only external network request required to run Lightdash with enterprise features. If your environment restricts outbound traffic, allowlist this endpoint in your firewall or proxy.If you enable the optional organization roadmap, your backend also makes outbound requests to https://roadmap.lightdash.com β allowlist that domain too.Verifying your license
After configuring your license key and restarting Lightdash, you can verify that enterprise features are enabled by:- Logging in as an admin user.
- Navigating to Settings β Organization.
- Checking for the Enterprise Edition badge.
Enterprise features
A valid enterprise license key unlocks the features below. Most features are gated behind an additional environment variable that you must set totrue before the feature becomes active. Follow each featureβs documentation link for the full list of configuration options.
Feature flags
Set these on your Lightdash instance in addition toLIGHTDASH_LICENSE_KEY:
Enterprise SSO providers
SSO providers such as Google Workspace are available on all plans. The following SSO providers require an enterprise license key on self-hosted instances. Configure them via environment variables β see Configure SSO for self-hosted Lightdash for the full setup guide, and the SSO env var reference for all options.
Additional SSO-related options:
AUTH_DISABLE_PASSWORD_AUTHENTICATION=trueβ recommended for enterprise deployments to force SSO-only sign-in.AUTH_ENABLE_GROUP_SYNC=trueβ sync groups from the IdP to Lightdash groups.AUTH_ENABLE_OIDC_TO_EMAIL_LINKING=trueβ required when using SCIM alongside SSO so SSO sign-ins link to SCIM-provisioned users.
Troubleshooting
If enterprise features are not available after configuring your license key:- Verify
LIGHTDASH_LICENSE_KEYis set on every Lightdash container (backend, scheduler, workers). - Ensure Lightdash has been restarted after adding the license key.
- Confirm the corresponding feature flag environment variable is set (for example,
AI_COPILOT_ENABLED=truefor the AI Analyst). - Confirm your server can reach
https://api.keygen.sh(required for license validation). - Check the Lightdash logs for any license-related error messages.
- Contact our enterprise support team for assistance.