How to get your Gemini API key
Step-by-step guide to setting up your Google Gemini API key and connecting it to Octo for seamless AI writing.
Getting your Gemini API key is essential for connecting to Google's powerful AI models. This guide will walk you through the entire process, from creating your account to generating and securing your API key.
The whole process takes about 5-10 minutes, and you'll be ready to start using Gemini's capabilities right away.
Step 1: Visit Google AI Studio
First, navigate to Google AI Studio where you can manage your Gemini API keys.
https://aistudio.google.com/

Step 2: Sign in and Navigate to API Keys
Sign in with your Google account, then look for the "Get API key" button or navigate to the API keys section. This is usually prominently displayed on the main dashboard.
💡 Pro Tip
Make sure you're using a Google account that you'll remember, as your API keys will be tied to this account.
Once you're logged in, look for the "Get API key" button or navigate to the API keys section. This is usually prominently displayed on the main dashboard.
You should see something like:
- A button labeled "Get API key" or "Create API key"
- An "API keys" section in the sidebar or navigation menu
- A prompt asking if you want to create your first API key

Step 3: Create Your API Key
Click on "Create API key" and you'll see a dialog box. Choose "Create API key in new project" for the simplest setup, or select an existing Google Cloud project if you have one.
⚠️ Important
Your API key will only be shown once. Make sure to copy and save it securely!

Step 4: Copy and Secure Your API Key
Once generated, your API key will appear in a text box. Click the copy button to copy it to your clipboard. Store this key somewhere safe - you'll need it to connect to Octo.
Your API key will look something like this:
AIzaSyDh1234567890abcdefghijklmnopqrstuvwxyz
Best practices for storing your API key:
- Save it in a password manager
- Don't share it with anyone
- Don't commit it to version control
- Use environment variables in your applications

Step 5: Connect to Octo
Now that you have your Gemini API key, you can connect it to Octo. Navigate to your Octo settings and paste your API key in the designated field.
🎉 You're Done!
Your Gemini API key is now ready to use with Octo. Start creating amazing content!

Troubleshooting Common Issues
API key not working?
Make sure you've copied the entire key without any extra spaces. Also, check that your Google Cloud project has billing enabled.
Can't find the API keys section?
Try refreshing the page or logging out and back in. The interface occasionally updates and buttons may move.
Getting quota exceeded errors?
Check your usage limits in the Google AI Studio dashboard. Free tier has certain limitations that you may need to upgrade for higher usage.
Ready to Get Started?
You now have everything you need to start using Gemini's powerful AI capabilities with Octo. Your API key gives you access to state-of-the-art language models for all your writing needs.