Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

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

Description and use

Add an AI chatbot to a WordPress site using Amazon Bedrock that answers visitors from the site’s pages with source links, while managing authentication and cost limits.

Problem

Deploy an AI chatbot that answers visitors using the site's own pages and cites sources, while managing AWS Bedrock usage and costs.

Outcome

The WordPress site now hosts an AI chatbot that answers questions using its own pages, cites sources, and limits usage to prevent cost overruns.

Workflow

  • Install "AI Chatbot, Agents & MCP for Amazon Bedrock" plugin via WordPress Plugins > Add New.
  • Open AI Chat Bedrock > Settings, select AWS Region (e.g., Asia Pacific Tokyo) and model.
  • Configure authentication: either attach IAM role to server or create Bedrock API key and paste into settings (or set AI_CHAT_BEDROCK_API_KEY in wp-config.php).
  • Run Diagnostics to verify connection and permissions.
  • Insert chat block with [ai_chat_bedrock] shortcode or enable floating chat for all pages.
  • Optionally enable WordPress AI plugin features or AI agents via Settings > Agents and tools.
  • Set daily request limits and monitor usage via AWS Budgets.

Evidence

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.

Source

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.

Source

Never give a WordPress site broad AWS administrator permissions.

Source

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.

Source

  • Record date: 2026-10-11T15:41:12.035Z