Skip to content

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]

docs ui credentials

Ishaan Jafff50571649925
diff --git a/docs/my-website/docs/proxy/ui_credentials.md b/docs/my-website/docs/proxy/ui_credentials.md
new file mode 100644
index 00000000000..601354c4771
--- /dev/null
+++ b/docs/my-website/docs/proxy/ui_credentials.md
@@ -0,0 +1,55 @@
+import Image from '@theme/IdealImage';
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+# Adding LLM Credentials
+
+You can add LLM provider credentials on the UI. Once you add credentials you can re-use them when adding new models
+
+## Add a credential + model
+
+### 1. Navigate to llm credentials page
+
+Go to Models -> LLM Credentials -> Add Credential
+
+<Image img={require('../../img/ui_cred_add.png')} />
+
+### 2. Add credentials
+
+Select your LLM provider, enter your API Key and click Save
+
+**Note: Credentials are based on the provider, if you select Vertex AI then you will see `Vertex Project`, `Vertex Location` and `Vertex Credentials` fields**
+
+<Image img={require('../../img/ui_add_cred_2.png')} />
+
+
+### 3. Use credentials when adding a model
+
+Go to Add Model -> Existing Credentials -> Select your credential in the dropdown
+
+<Image img={require('../../img/ui_cred_3.png')} />
+
+
+## Create a Credential from an existing model
+
+Use this if you have already created a model and want to store the model credentials for future use
+
+### 1. Select model to create a credential from
+
+Go to Models -> Select your model -> Credential -> Create Credential
+
+<Image img={require('../../img/ui_cred_4.png')} />
+
+### 2. Use new credential when adding a model
+
+Go to Add Model -> Existing Credentials -> Select your credential in the dropdown
+
+<Image img={require('../../img/use_model_cred.png')} />
+
+## Frequently Asked Questions
+
+
+How are credentials stored?
+- Credentials in the DB are encrypted/decrypted using `LITELLM_SALT_KEY` if set. If not then they are encrypted using `LITELLM_MASTER_KEY` These keys should be kept secret and not shared with others.
+
+
diff --git a/docs/my-website/img/ui_add_cred_2.png b/docs/my-website/img/ui_add_cred_2.png
new file mode 100644
index 00000000000..199a15e1787
Binary files /dev/null and b/docs/my-website/img/ui_add_cred_2.png differ
diff --git a/docs/my-website/img/ui_cred_3.png b/docs/my-website/img/ui_cred_3.png
new file mode 100644
index 00000000000..67a614d51bf
Binary files /dev/null and b/docs/my-website/img/ui_cred_3.png differ
diff --git a/docs/my-website/img/ui_cred_4.png b/docs/my-website/img/ui_cred_4.png
new file mode 100644
index 00000000000..84e70e03479
Binary files /dev/null and b/docs/my-website/img/ui_cred_4.png differ
diff --git a/docs/my-website/img/ui_cred_add.png b/docs/my-website/img/ui_cred_add.png
new file mode 100644
index 00000000000..7b03270b3c7
Binary files /dev/null and b/docs/my-website/img/ui_cred_add.png differ
diff --git a/docs/my-website/img/use_model_cred.png b/docs/my-website/img/use_model_cred.png
new file mode 100644
index 00000000000..35d42485557
Binary files /dev/null and b/docs/my-website/img/use_model_cred.png differ
diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js
index cae4dee9526..47d69e5d3fa 100644
--- a/docs/my-website/sidebars.js
+++ b/docs/my-website/sidebars.js
@@ -102,6 +102,7 @@ const sidebars = {
"proxy/self_serve",
"proxy/public_teams",
"proxy/custom_sso",
+ "proxy/ui_credentials",
"proxy/ui_logs"
],
},