---
title: "Generate OpenAI API Key"
url: https://docs.coolplugins.net/doc/generate-open-ai-api-key-translatepress/
date: 2026-02-13
modified: 2026-05-21
author: "Satinder Singh"
description: "To use OpenAI as the translator for bulk translation in the AI Translation for TranslatePress, you need to generate and add your OpenAI API key inside the plugin settings. Generate..."
categories:
  - "AI Translation for TranslatePress"
image: https://docs.coolplugins.net/wp-content/uploads/2026/05/ai-translatePress-genrate-openai-key-800x450.jpg
word_count: 198
---

# Generate OpenAI API Key

To use **OpenAI** as the translator for **bulk translation** in the **AI Translation for TranslatePress**, you need to generate and add your OpenAI API key inside the plugin settings.

[Generate API Key](https://platform.openai.com/docs/quickstart?api-mode=responses)

https://youtu.be/ynJJGH2qpXE

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

## Step 1: Create an OpenAI Account

- Visit the OpenAI website.

- Log in using the **API Platform**, or sign up if you don’t have an account.

[![login to openai platform](https://docs.coolplugins.net/wp-content/uploads/2026/02/login-to-openai-platform-800x294.png)](https://docs.coolplugins.net/wp-content/uploads/2026/02/login-to-openai-platform.png)

## Step 2: Generate Your API Key

- Go to the **Dashboard** section.

- Open the **API Keys** page.

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

- Click **Create new secret key**.

- Enter all the required details.

[![enter open ai secret key details](https://docs.coolplugins.net/wp-content/uploads/2026/02/enter-open-ai-secret-key-details.jpg)](https://docs.coolplugins.net/wp-content/uploads/2026/02/enter-open-ai-secret-key-details.jpg)

- Copy the generated API key and store it in a safe place.

> ⚠️ **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 API Key

- From your WordPress Dashboard, navigate to **Settings > AI Translation [TranslatePress]** **> Settings**.

[![open ai api key translatepress](https://docs.coolplugins.net/wp-content/uploads/2026/02/open-ai-api-key-translatepress-800x686.png)](https://docs.coolplugins.net/wp-content/uploads/2026/02/open-ai-api-key-translatepress.png)

- Scroll down to the **Bulk Translation > AI API Keys** section.

- Locate the **OpenAI** field.

- Paste your copied OpenAI API key into this field.

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

Once saved, your website will be ready to use OpenAI for **bulk AI-powered translations** in TranslatePress.