Skip to main content

[BETA] Admin UI

info

This is in beta, so things may change. If you have feedback, let us know

Allow your users to create, view their own keys through a UI

Quick Start

1. Changes to your config.yaml

Set allow_user_auth: true on your config

general_settings:
# other changes
allow_user_auth: true

2. Setup Google SSO - Use this to Authenticate Team Members to the UI

  • Create an Oauth 2.0 Client

    • Navigate to Google Credenentials
    • Create a new Oauth client ID
    • Set the GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in your Proxy .env
  • Set Redirect URL on your Oauth 2.0 Client

    • Click on your Oauth 2.0 client on https://console.cloud.google.com/
    • Set a redirect url = <your proxy base url>/google-callback
      https://litellm-production-7002.up.railway.app/google-callback

3. Required env variables on your Proxy

PROXY_BASE_URL="<your deployed proxy endpoint>" example PROXY_BASE_URL=https://litellm-production-7002.up.railway.app/

# for Google SSO Login
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

4. Use UI

👉 Get Started here: https://litellm-dashboard.vercel.app/