---
title: Connect an AI Provider
description: "Set this up once at ShapeTranslate → AI Translation → Providers & tone. Every AI feature in ShapeTranslate uses the provider you choose here."
url: "https://shapetranslate.com/docs/ai-provider/"
updated: "2026-11-16"
category: AI Translation
---

# Connect an AI Provider

Pro Set this up once at **ShapeTranslate → AI Translation → Providers & tone**. Every AI feature in ShapeTranslate uses the provider you choose here.

## Which provider?

ShapeTranslate sells no credits and stores no AI key of its own. The provider bills your own account.

| Provider | How you connect it | Good to know |
| --- | --- | --- |
| **WordPress AI (Connectors)** OpenAI, Anthropic, Google, OpenRouter and others | Install the provider's plugin (for example **AI Provider for OpenAI**), then add its API key under **Settings → Connectors**. OpenRouter is built into ShapeTranslate Pro, so it needs no extra plugin. | Needs WordPress 7.0 or later. Follows the tone, custom instructions and glossary in full. The default choice. |
| **DeepL** | Paste your DeepL API key on this tab. | Works on WordPress 6.4+. Free-plan keys end in `:fx`. Takes no written instructions; uses formal or informal address for the tone. |

## Set up an AI connector (OpenAI, Anthropic, Google, OpenRouter)

1. **Install the provider plugin**
   Go to **Plugins → Add Plugin** and install **AI Provider for OpenAI**, **AI Provider for Anthropic** or **AI Provider for Google**. For OpenRouter, skip this step.
2. **Add the key**
   Open **Settings → Connectors**, paste the provider's API key and save.
3. **Choose it in ShapeTranslate**
   Open **ShapeTranslate → AI Translation → Providers & tone**. Pick **WordPress AI (Connectors)**. Under **AI connector**, keep **Automatic (first connected)** or pick one connector.
4. **Optional: pick a model**
   Type a model ID in **Connector model**. Leave it empty to let the connector choose. For OpenRouter, write the ID as shown on openrouter.ai/models, such as `openai/gpt-4o-mini`.
5. **Test connection**
   Click **Test connection**. ShapeTranslate translates a short sample sentence into your first non-default language and shows the result.
6. **Save Changes**

## Set up DeepL

1. **Pick DeepL**
   Under **Provider**, choose **DeepL**.
2. **Paste the key**
   Copy it from your DeepL account's API keys and paste it in **DeepL API key**. After saving, only the last 4 characters are shown.
3. **Test connection**
   Then **Save Changes**. A **DeepL usage** bar shows how many characters you have used this billing period.

**Keep the DeepL key out of the database**Add `define( 'SHAPETRANSLATE_DEEPL_API_KEY', 'your-key' );` to `wp-config.php`. The constant wins over a saved key. OpenRouter also reads an `OPENROUTER_API_KEY` constant.

## The Providers & tone tab

[![AI Translation, Providers and tone tab](https://shapetranslate.com/wp-content/uploads/2026/11/st-docs-12-ai-providers.png)](https://shapetranslate.com/wp-content/uploads/2026/11/st-docs-12-ai-providers.png)
AI Translation → Providers & tone

- 1**Providers & tone tab.** One of the four tabs of AI Translation.
- 2**Provider.** WordPress AI (Connectors) or DeepL.
- 3**Test connection.** Uses what is on screen, even before you save.
- 4**Tone.** Natural, Professional, Casual, Ecommerce, SEO or Formal.
- 5**Status of translations.** Save as draft for review (default), or give the translation the same status as the original.

## Every setting on this tab

| Setting | Default | What it does |
| --- | --- | --- |
| **Provider** | WordPress AI (Connectors) | Which service translates. |
| **AI connector** | Automatic (first connected) | Which connected provider to use. **Manage connectors** opens Settings → Connectors. |
| **Connector model** | Empty | A model ID the connector offers. If the model is not offered, the connector chooses. |
| **DeepL API key** | Empty | Shown for DeepL. Tick **Remove saved key** to delete it. |
| **DeepL formality** | Default | More formal or Less formal. On Default, it follows the tone. |
| **Tone** | Natural | **Ecommerce** suits shops, **SEO** uses words people actually search for. |
| **Custom instructions** | Empty | Up to 1000 characters sent with every translation, for example "Keep the brand voice premium and concise." Not used by DeepL. |
| **Translation memory** | On | Reuse earlier translations of the same text instead of asking the provider again. See [Glossary & Memory](/docs/ai-glossary/). |
| **Status of translations** | Save as draft for review | For the editor button and bulk translation. With **Same status as the original**, a user who can't publish gets a pending translation. |
| **Who can translate with AI** | Only administrators and the roles ticked below | See [Who can use AI](/docs/ai-more/#ai-who). |
| **Translate new content** | Off | See [Automatic translation](/docs/ai-more/#ai-auto). |
| **Menus** | On | Keep menu translations up to date. See [Menus](/docs/ai-more/#ai-menus). |
