To use all features of the Blindspots application, you need to set up API keys for various services. Follow these instructions:
-
For local development, use
.env.local(recommended):cp .env.example .env.local
-
Open the
.env.localfile and replace the placeholder values with your actual API keys.
Note: .env.local is ignored by git and perfect for storing sensitive API keys during development.
- Go to https://platform.openai.com/api-keys
- Create a new API key
- Replace
your-openai-api-keyin.envwith your actual key
- Go to https://console.anthropic.com/settings/keys
- Create a new API key
- Replace
your-anthropic-api-keyin.envwith your actual key
- Go to https://console.cloud.google.com/
- Create a new project or select existing
- Enable the Vision API
- Create credentials (API key)
- Replace
your-google-api-keyandyour-google-cloud-project-idin.env
- Go to https://supabase.com/dashboard
- Create a new project
- Go to Settings > API
- Copy the Project URL and anon/public key
- Replace
your-supabase-project-urlandyour-supabase-anon-keyin.env
- Go to https://github.com/settings/tokens
- Generate a new token with
reposcope - Replace
your-github-personal-access-tokenin.env - Also update
your-github-usernamewith your GitHub username
- Open the app and click the Settings button (gear icon)
- Check the "API Status" section - green dots indicate connected services
- If you see issues with camera access:
- Click "Test Camera Permissions" in the settings
- Make sure you're using HTTPS or localhost
- Grant camera permissions when prompted
At minimum, you need either:
- OpenAI API key for basic functionality
- OR Anthropic API key for advanced analysis
The app will work with partial API keys but some features may be limited.
- Check browser permissions (icon in address bar)
- Make sure you're on HTTPS or localhost
- Try the "Test Camera Permissions" button in settings
- Verify your API keys are correct (no extra spaces)
- Check if you have credits/quota on your API accounts
- Look at browser console for detailed error messages
- The app will show which APIs failed in the UI
- Check the browser console (F12) for detailed error messages
- Make sure your
.envfile is in the root directory - Restart the development server after changing
.env