---
title: "Generate Gemini AI API Key"
url: https://docs.coolplugins.net/doc/generate-gemini-ai-api-key/
date: 2026-03-06
modified: 2026-04-20
author: "Satinder Singh"
description: "To use Gemini AI as the translator in the AutoMLP – AI Translation for WPML, you need to generate and add your Gemini AI API key inside the plugin settings. Generate API Key https://youtu.be/03Hcs6PnWU4..."
categories:
  - "AI Translation For WPML"
word_count: 167
---

# Generate Gemini AI API Key

To use **Gemini AI** as the translator in the **AutoMLP – AI Translation for WPML**, you need to generate and add your Gemini AI API key inside the plugin settings.

[Generate API Key](https://ai.google.dev/gemini-api/docs/api-key)

https://youtu.be/03Hcs6PnWU4

Follow the steps below to create the API key and connect it to your website:

## Step 1: Open Google AI Studio

- Visit the [Google AI Studio](https://aistudio.google.com/) website.

- Sign in with your Google account, or create a new account if needed.

## Step 2: Generate Your Gemini API Key

- Navigate to the **API Keys** section.

[![create gemini api key](https://docs.coolplugins.net/wp-content/uploads/2026/02/create-gemini-api-key-800x362.png)](https://docs.coolplugins.net/wp-content/uploads/2026/02/create-gemini-api-key.png)

- Click **Create API Key**.

- Enter all the required details.

[![enter information for gemini secret key](https://docs.coolplugins.net/wp-content/uploads/2026/02/enter-information-for-gemini-secret-key.jpg)](https://docs.coolplugins.net/wp-content/uploads/2026/02/enter-information-for-gemini-secret-key.jpg)

- Copy the generated API key and store it securely.

> ⚠️ **Important:**
> Copy the API key immediately and store it in a secure location, and do not share your API key publicly.

## Step 3: Add the Gemini API Key

- From your WordPress Dashboard, navigate to **WPML > AutoML AI > Settings**.

[![add google gemini api key automl](https://docs.coolplugins.net/wp-content/uploads/2026/03/add-google-gemini-api-key-automl-800x393.png)](https://docs.coolplugins.net/wp-content/uploads/2026/03/add-google-gemini-api-key-automl.png)

- Locate the **Google Gemini** **API Key** field.

- Paste your copied API key into this field.

- Click **Save Changes** to apply the configuration.

Once saved, your website will be ready to use Gemini AI for translations in AutoMLP.