Connecting artificial intelligence to WordPress no longer requires coding skills. With the tools available today —many of them free— any web developer can add chatbots trained on site content, optimize the SEO of a hundred pages in minutes, and automatically post to social media with every new article. This guide covers four practical areas with concrete steps: API keys, chatbots, bulk SEO, and social media automation.
What you need first: the OpenAI API Key
An API Key is the credential that connects WordPress to AI models. Without it, none of the plugins or tools in this guide can communicate with GPT-4o or DeepSeek. Getting one takes less than five minutes:
- Create an account at platform.openai.com
- Go to the API Keys section of the dashboard
- Click Create new secret key and give it a descriptive name
- Copy the generated code —it is only shown once
- Store it in a password manager
Real cost: each API call costs fractions of a cent. Optimizing 200 SEO pages or running a chatbot with moderate traffic costs less than €3 per month in API fees. Not free, but marginal compared to the time it saves.
This same API Key works for the chatbot, bulk SEO, and social automation. It is the only paid requirement before getting started.
Chatbots in WordPress with Botpress: step by step
Botpress has a free tier with real capacity: 5 active bots, 2,000 monthly messages, and 5,000 table rows. For most corporate sites or professional portfolios, those limits are more than enough.
Step 1: configure the bot
- Sign up at botpress.com and create a new bot
- Open Edit in Studio
- In the Instructions field (main prompt), define:
- The assistant’s role: «You are the virtual assistant of [business name]…»
- Tone and language of responses
- Contact details the bot should provide when asked
- Which topics to answer and which to escalate to a human
Step 2: train the bot on site content
The Knowledge Base determines what the bot knows. Four input methods are available:
- Site URL: Botpress scrapes and extracts text from all pages automatically
- Specific URLs: for precise control over which pages are processed
- Files: PDFs, Word documents, spreadsheets
- Data tables: the most powerful option for e-commerce —up to 5,000 rows with product name, price, stock, and attributes
E-commerce use case: a table with columns for name, category, price, stock, and color lets the bot answer queries like “Do you have model X in black under €200?” without human intervention, linking directly to the product page.
Step 3: embed the chatbot in WordPress
Botpress generates a JavaScript snippet. The easiest way to add it without touching theme files is through a Header & Footer Scripts plugin:
<!-- Paste in the site footer -->
<script src="https://cdn.botpress.cloud/webchat/v2/inject.js"></script>
<script>
window.botpressWebChat.init({
botId: 'YOUR_BOT_ID',
hostUrl: 'https://cdn.botpress.cloud/webchat/v2',
});
</script>
The result is a chat bubble in the bottom-right corner. Botpress also generates a direct link to the bot without loading the full site —useful for WhatsApp campaigns or email sequences.
Bulk SEO with SEOPress and the OpenAI API
Manually optimizing the SEO title, meta description, and alt text for every image can take days on a site with hundreds of pages. SEOPress Pro solves this by connecting to OpenAI to generate all that metadata in bulk with a single click.
Initial AI setup in SEOPress
- Install SEOPress Pro ($49/year, license transferable between projects)
- Go to SEO → Pro → AI and enable the AI beta
- Paste the OpenAI API Key obtained earlier
- Choose the model based on your needs:
- GPT-4o (with vision): required for generating image alt text, as the model visually analyzes each image
- GPT-4o mini: more economical, sufficient for titles and meta descriptions only
Individual optimization
When editing any post, page, or product, SEOPress displays buttons next to the SEO title and meta description fields. One click generates the text based on that page’s content. The result is editable before saving.
Bulk optimization
This is the feature that saves the most time. Steps:
- Go to Posts → All Posts (or Pages, Products, or any post type)
- Select the entries to optimize using the checkboxes
- In the Bulk Actions dropdown, choose the corresponding SEOPress action
- Click Apply —the process may take a minute or two for large volumes
For images, the same process from the Media Library: select items with empty alt fields and apply the bulk action. The model analyzes each image and writes a description using relevant keywords from the context.
Agency workflow: buy the SEOPress Pro license, use it to deliver a fully optimized site, then transfer the license to the next project. Time saved on the first use pays for the license.
SEOPress covers the visible metadata layer, but a full AI SEO strategy also addresses site architecture, load speed, and Core Web Vitals —factors no plugin can resolve automatically.
Automate social media posts with Make
Make (formerly Integromat) connects tools without writing code. With three steps, every new WordPress article automatically generates a post on Facebook, LinkedIn, or Instagram.
The starting point: the WordPress RSS feed
Every WordPress site automatically generates a feed at yoursite.com/feed/. It contains recent articles with title, URL, and description. This is the data source for the automation.
The three steps of the scenario
| Step | Module | Action |
|---|---|---|
| 1 — RSS | RSS Feed | Reads the feed every 15 min and detects new articles |
| 2 — AI | OpenAI | Generates a post with a hook, emojis, and a variable CTA |
| 3 — Network | Facebook / LinkedIn | Publishes the generated text with the real article URL |
The prompt sent to OpenAI in step 2 determines the output quality. An effective example:
Write a social media post promoting this article:
Title: {{1.title}}
Description: {{1.summary}}
Requirements:
- Opening hook that invites the reader to keep reading
- Relevant emojis
- End with a varied call-to-action (not always "Read more")
- Tone adapted to [Facebook / LinkedIn / Instagram]
- Maximum 400 characters
Key rule: the link published on the social network must always come from the RSS feed (step 1), never from the AI-generated text. Language models can produce plausible-but-incorrect URLs.
The free tier of Make allows 2 scenarios, each branching to multiple networks. The OpenAI API cost for this use is virtually zero. To see what other free SEO tools are available for your WordPress site, check the tools section.
Build websites with AI: Astra, Elementor, and Jetpack
The three major WordPress builders now include AI-powered generation to accelerate the initial prototyping phase. None replaces a designer’s judgment, but they significantly reduce time in the early stages.
- Astra: describe the business and it generates a full site —template, colors, sample content, and images— exportable to any WordPress installation. Free tier: 2 generated sites.
- Elementor AI: generates brand-toned text, images, section structures, and CSS directly in the visual editor. Has a built-in prompt panel with predefined instructions for the most common operations.
- Jetpack AI: generates and expands paragraphs, changes tone, converts text to tables, and translates blocks directly from the native WordPress block editor. Around $5/month.
Summary: which tool for each need
| Need | Tool | Cost |
|---|---|---|
| Chatbot trained on site content | Botpress | Free (with limits) |
| Bulk SEO: titles, metas, alt text | SEOPress Pro + OpenAI API | $49/year + API |
| Automate social media posts | Make + OpenAI API + RSS | Free (with limits) |
| Generate initial site structure | Astra | Free (2 sites) |
| Content and CSS in the editor | Elementor AI / Jetpack AI | $5–12/month |
Where to start
Get the OpenAI API Key first —that unlocks the chatbot, bulk SEO, and Make automation. The initial cost is minimal and the time saved on the first project justifies it.
- For new sites: Astra for the base structure, SEOPress Pro for SEO from day one, Botpress if the client needs automated support.
- For existing sites: SEOPress Pro in bulk mode to fix years of empty metadata, Make to automate the distribution of new content.
If the end goal is ranking at the top of Google —and appearing in ChatGPT, Gemini, and Perplexity answers— the AI SEO strategy combines classic positioning with GEO and AEO optimization to cover every engine that now responds before organic results.
Frequently asked questions
-
No. All the tools in this guide —Botpress, SEOPress, Make, and Astra— have visual interfaces and require no coding. The only technical task is copying and pasting the OpenAI API Key into each plugin’s settings field.
-
To optimize 200 pages with SEOPress Pro, the API cost is typically between $0.50 and $2. For a chatbot handling 500–1,000 monthly queries, the additional API cost is under $3 per month. It’s a marginal expense compared to the time saved.
-
Yes. In the instructions field you can specify the language or instruct the bot to detect and match the user’s language. For multilingual WordPress sites, this means the same bot can serve visitors in English, Spanish, or French without separate configurations.
-
Yes. Make has native modules for LinkedIn, Instagram, X (Twitter), Telegram, Pinterest, and many others. The free tier allows 2 scenarios, but each can branch to multiple networks within the same flow.