Skip to content

Setup with Gemini API Key

Time needed: ~2 minutes Difficulty: Easy — no cloud project required

This is the recommended setup for most users. You’ll get a free API key from Google that lets Golden Retriever embed and search your documents using Google’s Gemini AI.


  1. Open Google AI Studio in your browser
  2. Sign in with your Google account (any Google account works)
  3. Click “Create API Key”
  4. Select “Create API key in new project” (or use an existing project)
  5. Your API key will appear — copy it

The API Keys dashboard — click “Create API Key” in the top right. Google AI Studio API Keys dashboard

Create a new key — select “Create API key in new project” and click “Create key”. Create a new key dialog

Copy your key — click “Copy key” to copy it to your clipboard. API key details with Copy key button


  1. Launch Golden Retriever
  2. On first launch, review the consent screen and click “Get Started”
  3. The setup wizard appears — click “Gemini API Key” (the recommended option)
  4. Paste your API key into the field
  5. Choose your privacy tier:
    • Free Tier — No cost. Google may use your data to improve their products.
    • Paid Tier — Pay-as-you-go ($0.20 per million tokens). Google does NOT use your data.
  6. Click “Validate & Continue”

Consent screen — review how your data is processed and click “Get Started”. Welcome to Golden Retriever consent screen

Choose your connection — select “Gemini API Key” (the recommended option). Setup wizard with Gemini API Key option

Enter your API key (Free Tier) — paste your key and select the Free Tier for zero-cost usage. API key entry with Free Tier selected

Enter your API key (Paid Tier) — or select Paid Tier if you prefer Google not to use your data. API key entry with Paid Tier selected


After validation succeeds, you’ll see the confirmation screen. Click “Get Started” and you’re ready to use Golden Retriever.

Setup complete — your API key is configured and Golden Retriever is ready to use. You're all set confirmation screen

Next steps:

  • Click Library in the sidebar to add folders to your knowledge base
  • Golden Retriever will automatically embed your documents
  • Use Search or Ask AI to query your knowledge base

  • Your library stays on your Mac. Golden Retriever doesn’t sync, copy, or upload your files. The vector index and metadata database are local.
  • Content is sent to Google for AI features. To make search, transcription, description, and Q&A work, the relevant content of your files (document text, audio bytes, image bytes, video bytes) is sent directly from your Mac to Google’s Gemini API using your own API key. Golden Retriever (the company) never sees this traffic — it flows directly between your Mac and Google.
  • Free tier: Google may use data sent through the free tier to improve their products.
  • Paid tier: Google does NOT use your data. Upgrade at Google AI Studio to opt out.
  • Processing region is the US (us-central1). No EU region option for these models on the direct Gemini API currently.

ProblemSolution
”API key is not authorized”Make sure you copied the full key. Try creating a new one.
”Network error”Check your internet connection. The app needs to reach generativelanguage.googleapis.com.
”Rate limited”You’ve hit the free tier limit. Wait a minute and try again, or upgrade to paid tier.
Validation passes but embedding failsYour key works but may have been restricted. Go to AI Studio and check for restrictions.

If you later need EU data residency or want costs on your GCP bill, you can switch:

  1. Open SettingsCloud tab
  2. Click “Switch to Google Cloud (Vertex AI)”
  3. Follow the Vertex AI setup guide

Your existing embeddings and search data will continue to work — both paths use the same model.