Self HostingUI Customization (EE)
Version: v3

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 to customize some key parts of the UI to fit an organization’s environment.

You can customize the links highlighted in the screenshot below:

UI Customization Links

NumberVariableDescription
1LANGFUSE_UI_FEEDBACK_HREFReplace the default feedback widget with your internal feedback link.
2LANGFUSE_UI_DOCUMENTATION_HREFCustomize the documentation link reference in the menu and settings to point to your internal documentation.
3LANGFUSE_UI_SUPPORT_HREFCustomize the support link reference in the menu and settings to point to your internal support.
4LANGFUSE_UI_API_HOSTCustomize 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.

Co-branding

Co-brand the Langfuse interface with your own logo.

UI Customization Logo

Langfuse adapts to the logo width, with a maximum aspect ratio of 1:3. Narrower ratios (e.g., 2:3, 1:1) also work. The logo is fitted into a bounding box, so there are no specific pixel constraints. For reference, the example logo shown above is 160px x 400px.

VariableDescriptionExample
LANGFUSE_UI_LOGO_LIGHT_MODE_HREFURL to the logo in light mode.https://static.langfuse.com/langfuse-dev/example-logo-light-mode.png
LANGFUSE_UI_LOGO_DARK_MODE_HREFURL to the logo in dark mode.https://static.langfuse.com/langfuse-dev/example-logo-dark-mode.png

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.

VariableDescription
LANGFUSE_UI_DEFAULT_MODEL_ADAPTERSet the default model adapter for the LLM playground and evals. Options: OpenAI, Anthropic, Azure. Example: Anthropic
LANGFUSE_UI_DEFAULT_BASE_URL_OPENAISet the default base URL for OpenAI API in the LLM playground and evals. Example: https://api.openai.com/v1
LANGFUSE_UI_DEFAULT_BASE_URL_ANTHROPICSet the default base URL for Anthropic API in the LLM playground and evals. Example: https://api.anthropic.com
LANGFUSE_UI_DEFAULT_BASE_URL_AZURE_OPENAISet the default base URL for Azure OpenAI API in the LLM playground and evals. Example: https://{instanceName}.openai.azure.com/openai/deployments

Was this page useful?

Questions? We're here to help

Subscribe to updates