Title: RAG Chat for Amazon Bedrock
Author: mobalabkashima
Published: <strong>అక్టోబర్ 26, 2025</strong>
Last modified: అక్టోబర్ 29, 2025

---

Search plugins

![](https://ps.w.org/rag-chat-ab/assets/icon-256x256.png?rev=3387742)

# RAG Chat for Amazon Bedrock

 By [mobalabkashima](https://profiles.wordpress.org/mobalabkashima/)

[Download](https://downloads.wordpress.org/plugin/rag-chat-ab.0.0.2.zip)

 * [Details](https://te.wordpress.org/plugins/rag-chat-ab/#description)
 * [Reviews](https://te.wordpress.org/plugins/rag-chat-ab/#reviews)
 *  [Installation](https://te.wordpress.org/plugins/rag-chat-ab/#installation)
 * [Development](https://te.wordpress.org/plugins/rag-chat-ab/#developers)

 [Support](https://wordpress.org/support/plugin/rag-chat-ab/)

## Description

RAG Chat for Amazon Bedrock is a WordPress plugin that seamlessly integrates your
WordPress content with Amazon Bedrock Knowledge Bases to create an intelligent RAG(
Retrieval-Augmented Generation) chatbot system.

**Key Features:**

 * **Direct Amazon Bedrock Integration**: Connects directly to Amazon Bedrock Knowledge
   Bases without external servers
 * **Automatic Content Synchronization**: Automatically syncs WordPress posts and
   pages to Amazon Bedrock when content is created, updated, or deleted
 * **Real-time Chat Interface**: Provides a chat widget for visitors to interact
   with your content using AI
 * **Comprehensive Admin Interface**: Four dedicated admin pages for configuration
   and content management
 * **AWS Security**: Uses AWS Signature Version 4 authentication for secure API 
   communication
 * **Content Management**: Track sync status and manage which content is synchronized
   to Amazon Bedrock

**How It Works:**

 1. Configure your AWS credentials and Amazon Bedrock Knowledge Base in the plugin 
    settings
 2. New WordPress posts and pages are automatically synchronized to Amazon Bedrock 
    when saved or deleted
 3. Existing content can be synchronized using the export function in the Content Management
    page
 4. Visitors can use the chat interface to ask questions about your content
 5. Amazon Bedrock retrieves relevant content and generates intelligent responses using
    your WordPress data

**Requirements:**

 * AWS account with Amazon Bedrock access
 * Amazon Bedrock Knowledge Base configured
 * Valid AWS credentials (Access Key ID and Secret Access Key)

**Demo:**

See the plugin in action: [Live Demo](https://wp-rag-demo.mobalab.net/ask-rag-chat-for-amazon-bedrock/)

### Troubleshooting

**Plugin Installation & Setup Issues**

#### Plugin activation fails

 1. Ensure your WordPress version meets the minimum requirement (6.6+)
 2. Check that your PHP version is 7.4 or higher
 3. Verify there are no plugin conflicts by temporarily deactivating other plugins

#### The chat interface doesn’t appear on my page

 1. Make sure you’ve inserted the shortcode `[rag_chat_ab_chat]` in the correct location
 2. Check that the plugin is activated
 3. Verify your AWS credentials are correctly configured in the plugin settings

**Content Synchronization Issues**

#### Content sync is failing

 1. Verify your AWS credentials have the correct permissions
 2. Check that your Knowledge Base ID and Data Source ID are correct
 3. Ensure your Knowledge Base has a “Custom” type data source
 4. For existing content, use the “Export Posts and Pages to Amazon Bedrock” feature
    on the Content Management page

#### Export operation times out

If you have many posts and pages, “Export Posts and Pages to Amazon Bedrock” may
take a long time and cause timeout errors depending on your PHP settings. To reduce
the risk of timeout:

 1. Export content in smaller batches by selecting specific date ranges
 2. Consider increasing your PHP execution time limit if you have server access
 3. Contact your hosting provider if timeout issues persist
 4. For large-scale exports, we offer a dedicated bulk export PHP script that runs 
    independently on your server and can handle large volumes of content without web
    browser timeout limitations. Contact us at [https://tally.so/r/3jjoga](https://tally.so/r/3jjoga)
    for more information about our bulk export solution

**AWS Authentication & Permissions**

#### AWS permission errors

 1. Double-check all required IAM permissions are granted to your user
 2. Verify your AWS Access Key ID and Secret Access Key are correct
 3. Ensure your AWS account has access to Amazon Bedrock in the selected region
 4. Check the AWS CloudTrail logs for detailed error information

#### AWS Marketplace subscription error

If you encounter “Model access is denied” with “aws-marketplace:ViewSubscriptions”
permission errors:

 1. Your IAM user needs the `aws-marketplace:ViewSubscriptions` permission
 2. Add this permission to your IAM user’s policy
 3. Wait 15 minutes after fixing the permissions before trying again
 4. This is required for AWS Marketplace subscription completion

**Model Access & Configuration**

#### Model use case details required

If you encounter an error like “Model use case details have not been submitted for
this account. Fill out the Anthropic use case details form before using the model”:

 1. Anthropic requires use case details before using their models
 2. Fill out the Anthropic use case details form in your AWS console
 3. Wait 15 minutes after submitting before trying again
 4. See the AWS documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/
    model-access.html

#### Inference profile required error

If you get an error like “Invocation of model ID anthropic.claude-haiku-4-5-20251001-
v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or
ARN of an inference profile”:

 1. Some models require using inference profiles instead of direct model invocation
 2. Use the ID or ARN of an inference profile that contains the model
 3. Configure inference profiles in your Amazon Bedrock settings
 4. See the AWS documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/
    cross-region-inference.html

#### Chat responses are not working

 1. Verify that your AWS region is correct in the plugin settings
 2. Check that your Knowledge Base contains synchronized content
 3. Ensure your IAM user has `bedrock:RetrieveAndGenerate` permissions
 4. Try asking questions related to your synchronized content

### External services

This plugin uses the following Amazon Bedrock API endpoints provided by Amazon Web
Services, Inc.:

 * PUT https://bedrock-agent.{$region}.amazonaws.com/knowledgebases/{$knowledge_base_id}/
   datasources/{$data_source_id}
    - Called when a post or page is created or updated.
    - Used to add / update content on Amazon Bedrock.
    - The whole content (post or page) is sent.
 * POST https://bedrock-agent.{$region}.amazonaws.com/knowledgebases/{$knowledge_base_id}/
   datasources/{$data_source_id}/documents/deleteDocuments
    - Called when a post is deleted or moved to trash.
    - Used to delete content from Amazon Bedrock.
    - Only the post / page ID is sent.
 * POST https://bedrock-agent-runtime.{$region}.amazonaws.com/retrieveAndGenerate
    - Called when a visitor asks a question.
    - Used to generate responses using Amazon Bedrock’s AI.
    - The query that the user enters is sent.
    - The response contains a session ID, and it will be send to this endpoint in
      the subsequent requests along with the query.

Please see the following links for more information about Amazon Web Services:

 * [AWS Service Terms](https://aws.amazon.com/service-terms/)
 * [AWS Privacy](https://aws.amazon.com/privacy/)

### Related Projects

This plugin is based on **WP RAG** (https://github.com/mobalab/wp-rag), which provides
RAG functionality using external servers and OpenAI’s APIs. RAG Chat for Amazon 
Bedrock offers a different approach by integrating directly with Amazon Bedrock 
Knowledge Bases for users who prefer AWS-native solutions.

## Installation

**WordPress Installation:**
 1. Install the plugin through the WordPress plugins
screen directly, or upload the plugin files to the `/wp-content/plugins/rag-chat-
ab` directory 2. Activate the plugin through the ‘Plugins’ screen in WordPress

**AWS Setup (Required):**
 Before using this plugin, you need to set up Amazon Bedrock
and create a Knowledge Base: 1. Create an AWS account if you don’t have one: [AWS Account Setup](https://aws.amazon.com/resources/create-account/)
2. Set up Amazon Bedrock access: [Getting Started with Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html)
3. Create a Knowledge Base: [Amazon Bedrock Knowledge Base Setup](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html)
4. Create a data source of “Custom” type within your Knowledge Base (required for
the plugin to sync WordPress content) 5. Create an IAM user with the following permissions:–`
bedrock:IngestKnowledgeBaseDocuments` (to sync WordPress content) – `bedrock:DeleteKnowledgeBaseDocuments`(
to remove deleted WordPress content) – `bedrock:RetrieveAndGenerate`, `bedrock:RetrieveAndGenerate`(
to generate chat responses) – AWS managed policy `AmazonBedrockAgentCoreMemoryBedrockModelInferenceExecutionRolePolicy`–
Additional permissions may be required depending on your specific AWS setup and 
Knowledge Base configuration – See [IAM Permissions for Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_service-with-iam.html)
for detailed setup 6. Create AWS credentials (Access Key ID and Secret Access Key):
[Managing AWS Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html)

**Need Help with AWS Setup?**
 Setting up AWS infrastructure can be complex. We 
offer an automated infrastructure package that includes shell scripts and CDK (Cloud
Development Kit) code to construct all necessary AWS resources automatically. This
package handles the complete setup including Knowledge Bases, IAM permissions, and
proper configurations. For more information about our infrastructure automation 
package, please contact us at [https://tally.so/r/3jjoga](https://tally.so/r/3jjoga)

**Plugin Configuration:**
 1. Go to the RAG Chat admin menu to configure your Amazon
Bedrock settings 2. Enter your AWS credentials and Knowledge Base details 3. New
content will automatically sync to Amazon Bedrock when created, updated, or deleted
4. For existing posts and pages, use “Export Posts and Pages to Amazon Bedrock” 
on the Content Management page 5. Insert the shortcode `[rag_chat_ab_chat]` where
you want the chat interface to appear 6. (Optional) Configure your chat interface
settings for custom styling and behavior

## FAQ

### What is Amazon Bedrock?

Amazon Bedrock is a fully managed service that offers a choice of high-performing
foundation models (FMs) from leading AI companies through a single API, along with
a broad set of capabilities to build generative AI applications.

### Do I need an AWS account?

Yes, you need an AWS account with access to Amazon Bedrock and a configured Knowledge
Base to use this plugin.

### What content types are supported?

Currently, the plugin supports WordPress posts and pages. Custom post types may 
be added in future versions.

### Is my content sent to external servers?

Your content is synchronized directly to your Amazon Bedrock Knowledge Base. No 
external third-party servers are involved in the process.

### Can I control which content gets synchronized?

Not at the moment, but this feature is planned for future versions.

### Do you offer professional setup and integration services?

Yes! While this plugin is free to use, we understand that setting up AWS and Amazon
Bedrock can be complex. We offer professional integration services to help you get
your RAG system up and running smoothly. For more information about our integration
services, please contact us at [https://tally.so/r/3jjoga](https://tally.so/r/3jjoga)

## Reviews

![](https://secure.gravatar.com/avatar/0e1eac4ae0e4b4b1b2960c3777f50a4ab5858b0df5c498c4ad87fca026ca9d08?
s=60&d=retro&r=g)

### 󠀁[Effortless and efficient](https://wordpress.org/support/topic/effortless-and-efficient-2/)󠁿

 [skonishi1125](https://profiles.wordpress.org/skonishi1125/) డిసెంబర్ 17, 2025

I’m glad that I was able to easily create a powerful chatbot.

![](https://secure.gravatar.com/avatar/92e65ae35ef85f8a1dc024b4858600517f429b8b72e27e2f718f657670f1271e?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin for quick AI-powered FAQ / support on WordPress](https://wordpress.org/support/topic/excellent-plugin-for-quick-ai-powered-faq-support-on-wordpress/)󠁿

 [hirokoy](https://profiles.wordpress.org/hirokoy/) నవంబర్ 30, 2025

Excellent plugin! Super easy to set up — no coding needed. The integration with 
Amazon Bedrock works smoothly, and the AI chatbot provides fast and accurate answers
based on my existing WordPress content. Perfect for FAQs, customer support, or internal
knowledge sharing.Reliable, lightweight, and highly effective.Highly recommended!

![](https://secure.gravatar.com/avatar/0438f94c15c720a9940fe3ee0efeb15e905f23b05998509e2d90e7cb09b2a587?
s=60&d=retro&r=g)

### 󠀁[Smart and Easy RAG Chat Plugin powered by Amazon Bedrock](https://wordpress.org/support/topic/smart-and-easy-rag-chat-plugin-powered-by-amazon-bedrock/)󠁿

 [kzksm](https://profiles.wordpress.org/kzksm/) అక్టోబర్ 30, 2025

Easy to set up and works great. The RAG functionality is powered by Amazon Bedrock,
so the response accuracy is excellent. Highly recommended for adding smart chat 
to your WordPress site.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/rag-chat-ab/reviews/)

## Contributors & Developers

“RAG Chat for Amazon Bedrock” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ mobalabkashima ](https://profiles.wordpress.org/mobalabkashima/)

[Translate “RAG Chat for Amazon Bedrock” into your language.](https://translate.wordpress.org/projects/wp-plugins/rag-chat-ab)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/rag-chat-ab/), check
out the [SVN repository](https://plugins.svn.wordpress.org/rag-chat-ab/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/rag-chat-ab/) by
[RSS](https://plugins.trac.wordpress.org/log/rag-chat-ab/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.0.2: October 30th, 2025

 * Fix bugs
 * Add / fix text
 * Update documentation

#### 0.0.1: October 7th, 2025

 * Birthday of RAG Chat for Amazon Bedrock!

## Meta

 *  Version **0.0.2**
 *  Last updated **5 నెలలు ago**
 *  Active installations **10+**
 *  WordPress version ** 6.6 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/rag-chat-ab/)
 * Tags
 * [AI](https://te.wordpress.org/plugins/tags/ai/)[chatbot](https://te.wordpress.org/plugins/tags/chatbot/)
   [knowledge base](https://te.wordpress.org/plugins/tags/knowledge-base/)[rag](https://te.wordpress.org/plugins/tags/rag/)
 *  [Advanced View](https://te.wordpress.org/plugins/rag-chat-ab/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/rag-chat-ab/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/rag-chat-ab/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/rag-chat-ab/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/rag-chat-ab/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/rag-chat-ab/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rag-chat-ab/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/rag-chat-ab/reviews/)

## Contributors

 *   [ mobalabkashima ](https://profiles.wordpress.org/mobalabkashima/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/rag-chat-ab/)