Home » Web Tutorials » WordPress » How to Use ChatGPT, Gemini, and Claude in WordPress with Official AI Plugins?

How to Use ChatGPT, Gemini, and Claude in WordPress with Official AI Plugins?

If you are not using AI in WordPress, or if you rely on third-party plugins, it may be time to rethink your strategy. Though it’s considerably late to talk about AI, imagine generating summaries with ChatGPT, creating stunning images with Google Gemini, and refining product copy with Claude, all directly from your WordPress dashboard. This is not only possible but also incredibly easy to set up with the official WordPress AI plugins.

Gone are the days of managing separate API keys and settings for every AI tool. The official WordPress AI Building Blocks introduced a system where you add your API keys once and unlock a full suite of AI features across your site. This guide walks you through everything you need to get started.

The Core Components Needed

Before diving into the setup, it helps to understand the two primary components you will be using.

  • The Core AI Plugin: The central hub for all AI features on your site. It provides the user interface and a unified framework that allows WordPress to communicate with AI services.
  • Provider Plugins: These small but essential plugins act as translators. Each one allows the Core AI Plugin to connect with a specific AI service API.
ProviderPluginTextImage
OpenAIAI Provider for OpenAIChatGPTDALL·E
GoogleAI Provider for GoogleGeminiImagen
AnthropicAI Provider for AnthropicClaude

These plugins are part of the AI Building Blocks for WordPress project, which includes the PHP AI Client SDK, Abilities API, MCP (Model Context Protocol) Adapter, and AI Experiments Plugin.

Prerequisites for Setup

Before you start, ensure you meet the following requirements to avoid any issues:

  • WordPress Version: You need to run WordPress 7.0 or later. The new unified AI system is built directly into this version.
  • PHP Version: Your server must run PHP 7.4 or higher. For better performance and security, the official recommendation is PHP 8.2 or newer.
  • API Keys: You need active API keys from the AI providers you plan to use. Each service has its own pricing model, typically pay-as-you-go, so you only pay for what you use. Although Google offers a free API key, it comes with limitations, and you may need a premium key for unrestricted usage.
    • OpenAI (ChatGPT): Create an API key in your OpenAI account dashboard.
    • Google (Gemini): Get your API key from Google AI Studio.
    • Anthropic (Claude): Generate an API key in the Anthropic Console.

Connecting Your AI Providers

With the prerequisites complete, you are ready to connect your AI providers. Since you are using WordPress 7.0 or newer, you can use the new “Connectors” screen located under “Settings > Connectors”.

Step 1: Install the Core AI Plugin

You will see a notification on the “Connectors” page prompting you to install the AI plugin. Simply click the “Install the AI plugin” button to get started.

Install AI Plugin Notification

Alternatively, navigate to “Plugins > Add New”. Search for “AI” by WordPress.org, then install and activate the official AI plugin.

Official WordPress AI Plugin

Step 2: Install Your Provider Plugins

You will also see cards for each AI provider on the same “Connectors” page. Click the “Install” button on the card for the provider you want to use, such as OpenAI. WordPress will automatically install and activate the corresponding provider plugin without leaving the screen. Repeat this process for ChatGPT, Gemini, and Claude if you want all three providers available.

Install AI Provider Plugins

Alternatively, you can go to “Plugins > Add New” and manually install and activate the required AI provider plugins.

AI Provider for OpenAI Plugin

Step 3: Configure Your API Key

After activating a provider plugin, click the “Setup” button on the provider card. Enter the API key you created earlier, click “Save”, and your connection is complete.

Setup ChatGPT in WordPress
Add API Key for ChatGPT

Your WordPress site can now communicate with the selected AI service. It really is that simple. WordPress will automatically use the most suitable AI model for different tasks around your site, from editing content in the post editor to generating image alt text and moderating comments.

Enabling Required AI Features

Go to “Settings > AI” and enable the “Enable AI” option in the top-right corner of the screen. At this point, you will see three categories:

  • Image Generation and Editing.
  • Editor Experiments.
  • Admin Experiments.

Simply enable the image generation option, which requires ChatGPT or Gemini.

AI Experiments Settings

The “Admin Experiments” section includes comment moderation and the Abilities Explorer. You can explore the abilities provided by plugins and WordPress core by going to “Tools > Abilities Explorer”. Click the “View” or “Test” button to check the technical details of each feature.

Abilities Explorer in WordPress

The Editor Experiments section is especially useful for content creation in the Gutenberg editor.

  • Content Classification: Easily generate taxonomy suggestions such as categories and tags for your posts. You can choose whether suggestions should come only from existing items or include new ones and also define the maximum number of suggestions. This helps solve one of the biggest WordPress challenges, manually finding relevant tags for posts.
AI Editor Experiments in WordPress
  • Content Resizing & Summarization: Expand, shorten, or summarize your content with AI assistance.
  • Excerpt / Alt Text / Meta Description / Title Generation: Automatically generate these elements directly inside the editor.
  • Review Notes: Analyze each block in the editor and insert notes for improving accessibility, SEO, readability, and overall content quality. These notes are visible only in the editor and do not appear on published content.
  • Refine from Notes: Analyze the generated notes and automatically apply the suggested improvements.
Editor and Admin Experiments in WordPress AI

There are also additional features, such as AI Playground, planned for inclusion in the plugin’s future release.

Final Words

The official WordPress AI plugin, although still experimental at this stage, transforms WordPress into an intelligent content creation and management platform. You can configure ChatGPT, Gemini, and Claude connections from a single screen and reuse them across compatible plugins. This is only the beginning, and more third-party services are expected to integrate with the core AI Building Blocks ecosystem. For example, SiteGround has integrated its AI Studio under the “Connectors” settings for users. This allows automatic integration without manually linking APIs and enables the deployment of AI agents (using their AI Studio plugin) directly on the WordPress dashboard.

Adjust or Generate Text with AI Agent in WordPress

Leave a Comment

Your email address will not be published. Required fields are marked *