Skip to content

The agent engineering platform.

templates[patch]: rag-google-cloud-sdp readme (#14043)

Erick Friis8078caf764d5
diff --git a/templates/rag-google-cloud-sensitive-data-protection/README.md b/templates/rag-google-cloud-sensitive-data-protection/README.md
index d380fc538c..3d5296ad46 100644
--- a/templates/rag-google-cloud-sensitive-data-protection/README.md
+++ b/templates/rag-google-cloud-sensitive-data-protection/README.md
@@ -11,9 +11,13 @@ check [here](https://cloud.google.com/dlp/docs/sensitive-data-protection-overvie
## Environment Setup
-Before using this template, please ensure that you enable the DLP API and Vertex AI Search API in your Google Cloud
+Before using this template, please ensure that you enable the [DLP API](https://console.cloud.google.com/marketplace/product/google/dlp.googleapis.com)
+and [Vertex AI API](https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com) in your Google Cloud
project.
+For some common environment troubleshooting steps related to Google Cloud, see the bottom
+of this readme.
+
Set the following environment variables:
* `GOOGLE_CLOUD_PROJECT_ID` - Your Google Cloud project ID.
@@ -79,3 +83,14 @@ from langserve.client import RemoteRunnable
runnable = RemoteRunnable("http://localhost:8000/rag-google-cloud-sensitive-data-protection")
```
```
+
+# Troubleshooting Google Cloud
+
+You can set your `gcloud` credentials with their CLI using `gcloud auth application-default login`
+
+You can set your `gcloud` project with the following commands
+```bash
+gcloud config set project <your project>
+gcloud auth application-default set-quota-project <your project>
+export GOOGLE_CLOUD_PROJECT_ID=<your project>
+```