Overview
The Gemini BYOK connector lets you use your own Google API key with Workshop. Usage is billed directly by Google.Don’t have an API key? The managed Gemini connector is enabled by default — no API key needed, usage billed to your Workshop credits.
What You’ll Need
Getting an API Key
1
Open Google AI Studio
Go to aistudio.google.com/app/apikey and sign in with your Google account.
2
Create a key
Click Create API key. Select an existing Google Cloud project or create a new one.
3
Copy the key
Copy your API key immediately. It starts with
AIza followed by a string of characters. While you can view keys again in Google AI Studio, store it securely right away.Connecting to Workshop
1
Open the Hub
Open the Workshop Hub from the sidebar.
2
Go to Connectors
Click the Connectors tab.
3
Select Gemini
Click the Gemini (your API key) card.
4
Enter details
Enter a Connection Name (e.g., “My Gemini API”) and paste your Google API Key.
5
Save
Click Add Connection.
Verifying Your Connection
Ask Workshop:Security Best Practices
- Your API key is stored in Workshop’s encrypted storage — never shared with the AI agent directly
- Restrict your key in the Google Cloud Console: limit it to only the Generative Language API and add IP or referrer restrictions if needed
- If you suspect a key is compromised, delete it in Google AI Studio and create a new one