Setup with Google Cloud (Vertex AI)
Time needed: ~15-20 minutes Difficulty: Advanced — requires a Google Cloud project When to use: You want EU data residency (when available), GCP billing integration, or enterprise controls.
Most users should use the Gemini API Key setup instead. It takes 2 minutes and uses the same AI model. This guide is for advanced users who need GCP-specific features.
Prerequisites
Section titled “Prerequisites”- A Google account
- A credit card for Google Cloud billing (you won’t be charged until you exceed free tier)
Step 1: Create a Google Cloud Project
Section titled “Step 1: Create a Google Cloud Project”- Go to Google Cloud Console
- Sign in with your Google account
- Click the project dropdown at the top → “New Project”
- Name it (e.g., “golden-retriever”) → click “Create”
- Make sure your new project is selected in the dropdown
[Screenshot placeholder: GCP Console project creation dialog]
Step 2: Enable billing
Section titled “Step 2: Enable billing”- Go to Billing
- Link a billing account to your project
- If you don’t have a billing account, create one (requires credit card)
[Screenshot placeholder: Billing account linking page]
Step 3: Enable required APIs
Section titled “Step 3: Enable required APIs”You need two APIs enabled:
Vertex AI API
Section titled “Vertex AI API”- Go to API Library
- Search for “Vertex AI API”
- Click it → click “Enable”
[Screenshot placeholder: Vertex AI API page with Enable button]
Cloud Storage JSON API
Section titled “Cloud Storage JSON API”- Back in the API Library, search for “Cloud Storage JSON API”
- Click it → click “Enable”
[Screenshot placeholder: Cloud Storage JSON API page with Enable button]
Step 4: Create a Cloud Storage bucket
Section titled “Step 4: Create a Cloud Storage bucket”- Go to Cloud Storage
- Click “Create”
- Name your bucket (e.g., “golden-retriever-yourname”)
- Choose a region:
us-central1— Recommended (lowest latency for embeddings)europe-west1— For EU data at rest (note: embedding model currently only runs in US)
- Leave other settings as default → click “Create”
- Note your bucket name — you’ll need it in Step 6
[Screenshot placeholder: Bucket creation dialog with name and region fields]
Step 5: Create OAuth credentials
Section titled “Step 5: Create OAuth credentials”Configure the consent screen (first time only)
Section titled “Configure the consent screen (first time only)”- Go to OAuth Consent Screen
- Choose “External” → click “Create”
- Fill in:
- App name: Golden Retriever
- User support email: your email
- Developer contact email: your email
- Click “Save and Continue” through Scopes (no changes needed)
- Under Test Users, click “Add Users” → add your email
- Click “Save and Continue” → “Back to Dashboard”
[Screenshot placeholder: OAuth consent screen configuration]
Create the client credentials
Section titled “Create the client credentials”- Go to Credentials
- Click ”+ Create Credentials” → “OAuth client ID”
- Application type: “Desktop app”
- Name: “Golden Retriever”
- Click “Create”
- A dialog appears with your Client ID and Client Secret — copy both
[Screenshot placeholder: OAuth client ID creation, highlighting Desktop app selection]
[Screenshot placeholder: The credentials dialog showing Client ID and Client Secret with copy buttons]
Step 6: Configure Golden Retriever
Section titled “Step 6: Configure Golden Retriever”- Launch Golden Retriever
- On the setup wizard, click “Google Cloud (Vertex AI)”
- The GCP Setup Wizard opens with 4 phases:
Phase 1: Credentials
Section titled “Phase 1: Credentials”- Paste your Client ID
- Paste your Client Secret
- Click “Sign In & Continue”
- Your browser opens for Google sign-in — authorize the app
[Screenshot placeholder: GCP wizard Phase 1 with credential fields]
Phase 2: Project Configuration
Section titled “Phase 2: Project Configuration”- Enter your GCP Project ID (from Step 1, e.g., “golden-retriever”)
- Enter your Bucket name (from Step 4)
- Select your Region from the dropdown
- Click “Validate Project”
[Screenshot placeholder: GCP wizard Phase 2 with project config fields]
Phase 3: Validation
Section titled “Phase 3: Validation”- The wizard automatically checks:
- OAuth token validity
- Vertex AI API enabled
- Cloud Storage API enabled
- Bucket accessibility
- Embedding endpoint reachability
- All checks should show green checkmarks
- Click “Continue”
[Screenshot placeholder: GCP wizard Phase 3 showing validation results]
Phase 4: Complete
Section titled “Phase 4: Complete”- Summary of your configuration
- Click “Done”
[Screenshot placeholder: GCP wizard Phase 4 completion screen]
With Vertex AI, costs appear on your Google Cloud bill:
| Service | Cost |
|---|---|
| Vertex AI embeddings | ~$0.20 per million tokens |
| Cloud Storage | ~$0.023/GB/month |
| Vertex AI Q&A (Gemini 2.5 Flash) | ~$0.15 per million input tokens |
For a typical personal knowledge base (a few hundred documents), expect under $1/month.
Privacy & Data Residency
Section titled “Privacy & Data Residency”- Your files stay on your Mac. Documents are not uploaded to GCS by default (the upload step is skipped).
- Embeddings are processed via Vertex AI. Content is sent to Google for embedding through your GCP project.
- Region pinning: You choose the processing region. However,
gemini-embedding-2-previewis currently only available inus-central1. When Google adds EU regions, your Vertex AI setup will automatically use them. - GCP data controls: You get full IAM, VPC-SC, and organization-level controls through your GCP project.
Troubleshooting
Section titled “Troubleshooting”| Problem | Solution |
|---|---|
| ”Vertex AI API not enabled” | Go to API Library and enable it (Step 3) |
| “Bucket not found” | Check the bucket name — it must match exactly |
| ”OAuth token invalid” | Click “Sign Out” in Settings → Cloud, then re-authenticate |
| ”Permission denied” | Your Google account may not have the right IAM roles. You need at minimum: Vertex AI User + Storage Object Admin |
| 3 Keychain prompts on launch | Known issue (#34) — click “Always Allow” for each prompt |
Switching to Gemini API Key
Section titled “Switching to Gemini API Key”If you want to simplify your setup:
- Open Settings → Cloud tab
- Click “Switch to Gemini API Key”
- Follow the Gemini API Key setup guide
Your existing embeddings and search data will continue to work — both paths use the same model.