UI Customization
This is only available in the Enterprise Edition. Please add your license key to activate it.
To help with large-scale deployments, Langfuse allows you to customize some key parts of the UI to fit an organization's environment.
Links
You can customize the links highlighted in the screenshot below:
![]()
| Number | Variable | Description |
|---|---|---|
| 1 | LANGFUSE_UI_FEEDBACK_HREF | Replace the default feature request and bug report links with your internal feedback links. |
| 2 | LANGFUSE_UI_DOCUMENTATION_HREF | Customize the documentation link reference in the menu and settings to point to your internal documentation. |
| 3 | LANGFUSE_UI_SUPPORT_HREF | Customize the support link reference in the menu and settings to point to your internal support. |
| 4 | LANGFUSE_UI_API_HOST | Customize the hostname that is referenced in the Langfuse project settings. Defaults to window.origin. Useful if Langfuse is deployed behind a reverse proxy for API requests. |
Custom logo
Replace the Langfuse mark in the sidebar with your organization's logo.
![]()
![]()
- Square (1:1), shown at 28 × 28px. Wider logos are scaled down to fit.
- At least 112 × 112px PNG, or SVG.
- One file each for light and dark mode.
| Variable | Description | Example |
|---|---|---|
LANGFUSE_UI_LOGO_LIGHT_MODE_HREF | URL to the logo in light mode. | https://langfuse.com/images/docs/example-logo-square-light-mode.png |
LANGFUSE_UI_LOGO_DARK_MODE_HREF | URL to the logo in dark mode. | https://langfuse.com/images/docs/example-logo-square-dark-mode.png |
Instance switcher
Organizations that operate multiple Langfuse deployments (e.g. for development, staging, and production, or per business unit) can configure a list of instances. It is rendered as an instance switcher in the sidebar user menu so users can quickly move between deployments, similar to the region switcher on Langfuse Cloud.
![]()
| Variable | Description |
|---|---|
LANGFUSE_UI_INSTANCE_LINKS | JSON array of objects with a unique name and an http(s) url. See the example below. Unset hides the switcher. |
LANGFUSE_UI_INSTANCE_LINKS='[{"name":"Staging","url":"https://langfuse-staging.example.com"},{"name":"Production","url":"https://langfuse.example.com"}]'Notes:
- The entry whose host matches the URL the user is currently on is marked as the current instance.
- Links open in a new tab. Sessions are not shared between instances; each deployment authenticates on its own.
- The list is per-deployment configuration. Set the same value on all deployments so the switcher is consistent everywhere.
- Names must be unique, and URLs must use
httporhttps. Names are what users pick from in the menu, and other URL schemes would not open a Langfuse deployment. - If the value is not valid JSON in the expected shape, the switcher is hidden and a warning naming the problem is logged; the deployment still starts.
Public sharing
Turn off public sharing of traces and sessions for every organization on the instance. The organization setting is then shown as off and cannot be changed.
| Variable | Description |
|---|---|
LANGFUSE_DISABLE_PUBLIC_SHARING | Set to true to turn off public sharing. Defaults to false. |
LLM API/Gateway Connection defaults
LLM connections are configured in the Langfuse project settings. You can customize the default values via the following environment variables.
| Variable | Description |
|---|---|
LANGFUSE_UI_DEFAULT_MODEL_ADAPTER | Set the default model adapter for the LLM playground and evals. Options: OpenAI, Anthropic, Azure. Example: Anthropic |
LANGFUSE_UI_DEFAULT_BASE_URL_OPENAI | Set the default base URL for OpenAI API in the LLM playground and evals. Example: https://api.openai.com/v1 |
LANGFUSE_UI_DEFAULT_BASE_URL_ANTHROPIC | Set the default base URL for Anthropic API in the LLM playground and evals. Example: https://api.anthropic.com |
LANGFUSE_UI_DEFAULT_BASE_URL_AZURE_OPENAI | Set the default base URL for Azure OpenAI API in the LLM playground and evals. Example: https://{instanceName}.openai.azure.com/openai/deployments |
Product Module Visibility
Control which product modules are visible in the main menu. You can either specify which modules should be visible or which ones should be hidden.
| Variable | Description |
|---|---|
LANGFUSE_UI_VISIBLE_PRODUCT_MODULES | Comma-separated list of modules that should be visible. All other modules will be hidden. Example: tracing,evaluation,prompt-management |
LANGFUSE_UI_HIDDEN_PRODUCT_MODULES | Comma-separated list of modules that should be hidden. All other modules will be visible. Example: playground,datasets |
Available modules:
dashboards: Dashboards except for the default dashboard which is always visibletracing: Traces and usersevaluation: Evaluations and scoresprompt-management: Prompt managementplayground: LLM playgrounddatasets: Datasets
If both variables are set, LANGFUSE_UI_VISIBLE_PRODUCT_MODULES takes precedence. If neither is set, all modules are visible by default.
If you experience any issues when self-hosting Langfuse, please:
- Check out Troubleshooting & FAQ page.
- Use Ask AI to get instant answers to your questions.
- Ask the maintainers on GitHub Discussions.
- Create a bug report or feature request on GitHub.
Enterprise-grade support is available when self-hosting Langfuse. Learn more on our pricing page.
Last updated on