diff --git a/docs/my-website/docs/proxy/self_serve.md b/docs/my-website/docs/proxy/self_serve.md index 4349f985a..0b1b8a23f 100644 --- a/docs/my-website/docs/proxy/self_serve.md +++ b/docs/my-website/docs/proxy/self_serve.md @@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem'; # 🤗 UI - Self-Serve -Allow users to create their own keys on [Proxy UI](./ui.md). +## Allow users to create their own keys on [Proxy UI](./ui.md). 1. Add user with permissions to a team on proxy @@ -125,6 +125,41 @@ LiteLLM Enterprise: Enable [SSO login](./ui.md#setup-ssoauth-for-ui) +## Allow users to View Usage, Caching Analytics + +1. Go to Internal Users -> +Invite User + +Set their role to `Admin Viewer` - this means they can only view usage, caching analytics + + +
+ +2. Share invitation link with user + + + +
+ +3. User logs in via email + password auth + + +
+ +4. User can now view Usage, Caching Analytics + + + + +## Available Roles +Here's the available UI roles for a LiteLLM Internal User: + +**Admin Roles:** + - `proxy_admin`: admin over the platform + - `proxy_admin_viewer`: can login, view all keys, view all spend. **Cannot** create/delete keys, add new users. + +**Internal User Roles:** + - `internal_user`: can login, view/create/delete their own keys, view their spend. **Cannot** add new users. + - `internal_user_viewer`: can login, view their own keys, view their own spend. **Cannot** create/delete keys, add new users. ## Advanced ### Setting custom logout URLs diff --git a/docs/my-website/img/ui_invite_link.png b/docs/my-website/img/ui_invite_link.png new file mode 100644 index 000000000..32171c86c Binary files /dev/null and b/docs/my-website/img/ui_invite_link.png differ diff --git a/docs/my-website/img/ui_invite_user.png b/docs/my-website/img/ui_invite_user.png new file mode 100644 index 000000000..bad2e3c96 Binary files /dev/null and b/docs/my-website/img/ui_invite_user.png differ diff --git a/docs/my-website/img/ui_usage.png b/docs/my-website/img/ui_usage.png new file mode 100644 index 000000000..e33e40d6f Binary files /dev/null and b/docs/my-website/img/ui_usage.png differ