{"slug": "add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock", "title": "Add an AI chatbot with sources to a WordPress site on AWS (Amazon Bedrock)", "summary": "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.", "body_md": "This guide sets up [AI Chatbot, Agents & MCP for Amazon Bedrock](https://wordpress.org/plugins/ai-chat-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.\n\nTo 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.\n\n## \n  \n  \n  Before you start\n\n- An AWS account that can use Amazon Bedrock. Check your account's plan and Bedrock access. AWS's [newer sign-up experience](https://docs.aws.amazon.com/accounts/latest/reference/supported-services-sign-up-new.html) , 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.\n- WordPress 6.4 or later and PHP 7.4 or later.\n- Bedrock bills per use. Review [Amazon Bedrock pricing](https://aws.amazon.com/bedrock/pricing/) and set an[AWS Budget](https://aws.amazon.com/aws-cost-management/aws-budgets/) before opening the chat to the public.\n\n## \n  \n  \n  1. Install the plugin\n\nIn WordPress, open **Plugins > Add New**, search for **Amazon Bedrock**, then install and activate **AI Chatbot, Agents & MCP for Amazon Bedrock**.\n\n## \n  \n  \n  2. Choose a Region and a model\n\nOpen **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.\n\n## \n  \n  \n  3. Connect to Bedrock\n\nChoose one:\n\n- \n**The server's IAM role (recommended on EC2, ECS or EKS).** Leave the credentials empty. Attach an IAM role to the instance or task that may invoke only the models the site uses.**Diagnostics** shows the least-privilege policy for your settings.\n- \n**An Amazon Bedrock API key (anywhere else, including Amazon Lightsail or other hosting).** In the Bedrock console, open**API keys** in the same Region, generate a long-term key with an expiry, and paste it under**AI Chat Bedrock > Settings > AWS authentication** . It is stored encrypted. On WordPress 7.1 and later you can paste it under**Settings > Connectors > Amazon Bedrock** instead. To keep it out of the database, define`AI_CHAT_BEDROCK_API_KEY` in`wp-config.php` .\n\nNever give a WordPress site broad AWS administrator permissions.\n\n## \n  \n  \n  4. Check it\n\nSave the settings and run **Diagnostics** while signed in. It sends one short question to the model and reports the answer, or what to fix.\n\n## \n  \n  \n  5. Add the chat\n\nInsert 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.\n\n## \n  \n  \n  Optional\n\n- \n**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 under**AI Chat Bedrock > Settings > Model** ; image requests go to US West (Oregon), where Bedrock offers the Stability models.\n- \n**AI agents.** Under**Settings > Agents and tools** you can turn on the site description for agents, an`llms.txt` file, site content abilities and a WordPress MCP server.**Diagnostics** lists what is turned on for agents. Only published, public content is described.\n\nMore answers: [FAQ](https://github.com/noteflowai/ai-chat-for-amazon-bedrock/blob/main/docs/faq.md) · [Support](https://wordpress.org/support/plugin/ai-chat-for-amazon-bedrock/)\n\n*Disclosure: I maintain this plugin.*", "url": "https://wpnews.pro/news/add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock", "canonical_source": "https://dev.to/noteflowai/add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock-4821", "published_at": "2026-10-11 14:52:07+00:00", "updated_at": "2026-10-11 14:56:44.147974+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-products", "ai-tools", "large-language-models"], "entities": ["WordPress", "Amazon Bedrock", "AWS", "Claude", "Amazon EC2", "Amazon Lightsail", "Stability AI", "MCP"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock", "markdown": "https://wpnews.pro/news/add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock.md", "text": "https://wpnews.pro/news/add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock.txt", "jsonld": "https://wpnews.pro/news/add-an-ai-chatbot-with-sources-to-a-wordpress-site-on-aws-amazon-bedrock.jsonld"}}