- Go to Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy the generated key
- Download this repository
- Open Chrome and go to
chrome://extensions/ - Enable Developer Mode (top-right toggle)
- Click "Load unpacked"
- Select the project folder
- Open
background.jsin a text editor - Find line 2:
const GEMINI_API_KEY = "..." - Replace the placeholder with your actual API key
- Save the file
- Reload the extension in Chrome
- Open any webpage
- Click the Sidekick extension icon
- Ask a question like "What is this page about?"
"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