Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.03 KB

File metadata and controls

44 lines (32 loc) · 1.03 KB

Setup Guide

1. Get API Key

  1. Go to Google AI Studio
  2. Sign in with your Google account
  3. Click "Create API Key"
  4. Copy the generated key

2. Install Extension

  1. Download this repository
  2. Open Chrome and go to chrome://extensions/
  3. Enable Developer Mode (top-right toggle)
  4. Click "Load unpacked"
  5. Select the project folder

3. Configure API Key

  1. Open background.js in a text editor
  2. Find line 2: const GEMINI_API_KEY = "..."
  3. Replace the placeholder with your actual API key
  4. Save the file
  5. Reload the extension in Chrome

4. Test

  1. Open any webpage
  2. Click the Sidekick extension icon
  3. Ask a question like "What is this page about?"

Troubleshooting

"API Error: INVALID_ARGUMENT"

  • Check your API key is correct
  • Make sure there are no extra spaces

"Failed to capture page content"

  • Try refreshing the webpage
  • Check if you're on a restricted page

Extension not loading

  • Ensure Developer Mode is enabled
  • Try reloading the extension