To use the AI features inside SEO Magic, you need your own Gemini API key. This guide shows you exactly how to create that key in Google AI Studio and where to paste it inside the plugin.
Important #
Your Gemini API key and your SEO Magic license are not the same thing.
- Gemini API key = a Google key used to connect SEO Magic to Gemini.
- SEO Magic license = your commercial license for the plugin.
If you paste your SEO Magic license into the Gemini API field, the AI features will not work.
What this key does in SEO Magic #
Your Gemini API key lets SEO Magic connect to Google’s Gemini API so the plugin can run its AI-powered features.
- Generate SEO titles
- Generate meta descriptions
- Create or improve content with AI
- Use assistant tools that depend on Gemini
Without a valid Gemini API key, the plugin cannot activate those AI features.
What you need before you start #
- A Google account
- Access to Google AI Studio
- Your WordPress admin access
- The SEO Magic plugin already installed
Step-by-step: create your Gemini API key #
Step 1: Open Google AI Studio #
Go to https://aistudio.google.com/ and sign in with your Google account.
Step 2: Open the API Keys section #
Inside Google AI Studio, open the area where you can create and manage API keys.
You can usually go directly here:
Step 3: Create a new API key #
Click the button to create a new API key.
If you are a new user, Google AI Studio may create a default project for you automatically. If you already use Google Cloud, you may also be able to import an existing project.
Step 4: Copy your key #
Once the key appears, copy it carefully and save it in a secure place.
Do not share it publicly, do not post it in screenshots, and do not place it in public frontend code.
Where to paste the key in SEO Magic #
- Log in to your WordPress admin panel.
- Open SEO Magic.
- Go to the plugin Settings screen.
- Find the field called Gemini API key.
- Paste the key you copied from Google AI Studio.
- Click Save.
Common mistakes #
- Pasting the SEO Magic license instead of the Gemini API key: the AI features will not activate.
- Copying extra spaces before or after the key: validation may fail.
- Forgetting to save the settings: the plugin will not keep the key.
- Using the wrong Google account: you may create a key in a different account than expected.
Security tips #
- Keep your API key private.
- Do not publish it in public code.
- Do not send it in screenshots.
- Only paste it into trusted settings screens like your own SEO Magic installation.
Quick summary #
- Open Google AI Studio.
- Go to the API Keys page.
- Create a new Gemini API key.
- Copy the key.
- Paste it into the Gemini API key field inside SEO Magic.
- Save your settings.
Frequently asked questions #
Do I need Google Cloud Console? #
No. For most users, Google AI Studio is the easiest way to create a Gemini API key.
Is the Gemini API key the same as my SEO Magic license? #
No. They are completely different. The Gemini API key comes from Google. The SEO Magic license comes from SEO Magic.
What happens if I enter the wrong key? #
SEO Magic will not be able to activate or use the AI-powered features correctly.
Where do I create the key? #
You can create it in Google AI Studio here: https://aistudio.google.com/app/apikey