cd /news/ai-agents/add-an-ai-chatbot-with-sources-to-a-… · home › topics › ai-agents › article
[ARTICLE · art-149195] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Add an AI chatbot with sources to a WordPress site on AWS (Amazon Bedrock)

A developer released a WordPress plugin, AI Chatbot, Agents & MCP for Amazon Bedrock, that lets a WordPress site answer visitor questions from its own published pages with source links, using Claude or other models in Amazon Bedrock. The plugin supports IAM role or API-key authentication, offers a diagnostics check, and can expose site content to AI agents via an llms.txt file and a WordPress MCP server. The maintainer notes guest chat is off by default and requests are rate limited.

by read3 min views1 publishedOct 11, 2026

This guide sets up AI Chatbot, Agents & MCP for Amazon Bedrock so a WordPress site answers visitors from its own pages, with links to the pages it used, on Claude or another model in Amazon Bedrock.

To see it first without an AWS account, open the Live Preview on the plugin's WordPress.org page. It runs a small bakery site in your browser, and the chat quotes the best-matching passage of the site's pages.

#

Before you start

  • An AWS account that can use Amazon Bedrock. Check your account's plan and Bedrock access. AWS's newer sign-up experience , which AWS is releasing to a limited number of customers, includes it in the Free Tier without multi-Region or cross-Region features. A new AWS Free Tier account gets $100 in credits when it is created and can earn up to $100 more, up to $200 over six months; remaining credits apply to AWS bills after upgrading to the Paid plan.
  • WordPress 6.4 or later and PHP 7.4 or later.
  • Bedrock bills per use. Review Amazon Bedrock pricing and set anAWS Budget before opening the chat to the public.

#

  1. Install the plugin

In WordPress, open Plugins > Add New, search for Amazon Bedrock, then install and activate AI Chatbot, Agents & MCP for Amazon Bedrock.

#

  1. Choose a Region and a model

Open AI Chat Bedrock > Settings, choose the AWS Region, such as Asia Pacific (Tokyo), and pick a model. Enable access to that model in the same Region in the Amazon Bedrock console if your account requires it.

#

  1. Connect to Bedrock

Choose one:

An Amazon Bedrock API key (anywhere else, including Amazon Lightsail or other hosting). In the Bedrock console, openAPI keys in the same Region, generate a long-term key with an expiry, and paste it underAI Chat Bedrock > Settings > AWS authentication . It is stored encrypted. On WordPress 7.1 and later you can paste it underSettings > Connectors > Amazon Bedrock instead. To keep it out of the database, defineAI_CHAT_BEDROCK_API_KEY inwp-config.php .

Never give a WordPress site broad AWS administrator permissions.

#

  1. Check it

Save the settings and run Diagnostics while signed in. It sends one short question to the model and reports the answer, or what to fix.

#

  1. Add the chat

Insert the chat block, add [ai_chat_bedrock] to a page, or turn on the floating chat for every page. Answers come from your published pages in the visitor's language, with their sources. Guest chat stays off until you turn it on, and requests are rate limited; set a daily request limit under the settings as well.

#

Optional

The official WordPress AI plugin. On WordPress 7.0 and later, Bedrock is a provider for core's AI Client, so the WordPress AI plugin's features run on Bedrock. Its image generation and editing need an image model chosen underAI Chat Bedrock > Settings > Model ; image requests go to US West (Oregon), where Bedrock offers the Stability models. #

AI agents. UnderSettings > Agents and tools you can turn on the site description for agents, anllms.txt file, site content abilities and a WordPress MCP server.Diagnostics lists what is turned on for agents. Only published, public content is described.

More answers: FAQ · Support Disclosure: I maintain this plugin.

── more in #ai-agents 4 stories · sorted by recency
── more on @wordpress 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/add-an-ai-chatbot-wi…] indexed:0 read:3min 2026-10-11 · —