From 3e39e8eb8fa1f47cc81ee389938a90f38bfefe22 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 1 Aug 2024 15:31:58 -0700 Subject: [PATCH] docs setting service accounts --- .../docs/observability/gcs_bucket_integration.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/observability/gcs_bucket_integration.md b/docs/my-website/docs/observability/gcs_bucket_integration.md index 83f413d55..4894853e3 100644 --- a/docs/my-website/docs/observability/gcs_bucket_integration.md +++ b/docs/my-website/docs/observability/gcs_bucket_integration.md @@ -13,7 +13,7 @@ Log LLM Logs to [Google Cloud Storage Buckets](https://cloud.google.com/storage? ### Usage -1. Add to Config.yaml +1. Add `gcs_bucket` to LiteLLM Config.yaml ```yaml model_list: - litellm_params: @@ -29,7 +29,7 @@ litellm_settings: 2. Set required env variables ```shell -GCS_BUCKET_NAME = "" +GCS_BUCKET_NAME="" GCS_PATH_SERVICE_ACCOUNT="/Users/ishaanjaffer/Downloads/adroit-crow-413218-a956eef1a2a8.json" # Add path to service account.json ``` @@ -94,6 +94,15 @@ Example payload of a `/chat/completion` request logged on GCS } ``` +## Getting `service_account.json` from Google Cloud Console + +1. Go to [Google Cloud Console](https://console.cloud.google.com/) +2. Search for IAM & Admin +3. Click on Service Accounts +4. Select a Service Account +5. Click on 'Keys' -> Add Key -> Create New Key -> JSON +6. Save the JSON file and add the path to `GCS_PATH_SERVICE_ACCOUNT` + ## Support & Talk to Founders - [Schedule Demo 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version)