The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
ui logo (#23556)
Ishaan Jaff2b61f2a41b3f
diff --git a/docs/my-website/docs/proxy/ui/ui_edit_logo.md b/docs/my-website/docs/proxy/ui/ui_edit_logo.mdnew file mode 100644index 00000000000..c62a39c0050--- /dev/null+++ b/docs/my-website/docs/proxy/ui/ui_edit_logo.md@@ -0,0 +1,138 @@+import Image from '@theme/IdealImage';++# Customize UI Logo++Personalize your LiteLLM dashboard by replacing the default logo with your own company branding. You can set a custom logo via the UI or the API.++## Via the UI++### 1. Navigate to Settings++Click the **Settings** icon in the sidebar.++++### 2. Open UI Theme Settings++Click **UI Theme** from the settings menu.++++### 3. Click the Logo URL Field++Click the **Logo URL** text field to start editing.++++### 4. Find Your Logo Image++Open a new browser tab and find the logo image you want to use (e.g., search Google Images for your company logo).++++### 5. Right-Click on the Logo Image++Right-click the image you want to use as your logo.++++### 6. Copy the Image Address++Select **Copy Image Address** from the context menu to copy the URL.++++### 7. Switch Back to LiteLLM++Navigate back to the LiteLLM UI tab (e.g., press **Cmd + Left** or click the tab).++++### 8. Paste the Logo URL++Paste the copied image URL into the **Logo URL** field with **Cmd + V**.++++### 9. Save Changes++Click **Save Changes** to apply your new logo.++++Your custom logo will now appear in the LiteLLM dashboard sidebar and login page.++## Via the API++### Set a Custom Logo++```bash+curl -X PATCH 'http://localhost:4000/settings/update/ui_theme_settings' \+ -H 'Authorization: Bearer <your-admin-key>' \+ -H 'Content-Type: application/json' \+ -d '{+ "logo_url": "https://example.com/your-company-logo.png"+ }'+```++### Set a Custom Favicon++You can also customize the browser tab favicon:++```bash+curl -X PATCH 'http://localhost:4000/settings/update/ui_theme_settings' \+ -H 'Authorization: Bearer <your-admin-key>' \+ -H 'Content-Type: application/json' \+ -d '{+ "logo_url": "https://example.com/your-company-logo.png",+ "favicon_url": "https://example.com/your-favicon.ico"+ }'+```++### Get Current Theme Settings++```bash+curl -X GET 'http://localhost:4000/settings/get/ui_theme_settings'+```++### Reset to Default Logo++Send an empty `logo_url` to restore the default LiteLLM logo:++```bash+curl -X PATCH 'http://localhost:4000/settings/update/ui_theme_settings' \+ -H 'Authorization: Bearer <your-admin-key>' \+ -H 'Content-Type: application/json' \+ -d '{+ "logo_url": ""+ }'+```++## Via `proxy_config.yaml`++You can also set the logo URL in your proxy configuration file:++```yaml+litellm_settings:+ ui_theme_config:+ logo_url: "https://example.com/your-company-logo.png"+ favicon_url: "https://example.com/your-favicon.ico" # optional+```++Or set it as an environment variable:++```yaml+environment_variables:+ UI_LOGO_PATH: "https://example.com/your-company-logo.png"+```++## Supported Logo Formats++| Format | Supported |+|--------|-----------|+| JPEG / JPG | Yes |+| PNG | Yes |+| SVG | Yes |+| ICO (favicon only) | Yes |+| HTTP/HTTPS URL | Yes |+| Local file path | Yes |diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.jsindex b877eed0dd0..d1eb331f55b 100644--- a/docs/my-website/sidebars.js+++ b/docs/my-website/sidebars.js@@ -332,6 +332,7 @@ const sidebars = {label: "Setup & SSO",items: ["proxy/admin_ui_sso",+ "proxy/ui/ui_edit_logo","proxy/custom_sso","proxy/custom_root_ui","tutorials/scim_litellm",