Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

AWS Bedrock Chat

Security covered Under active development 16 sites

Part of the AWS ecosystem · 6 projects

This module integrates generative AI from AWS Bedrock into your Drupal site to create personalized chat experiences. It allows you to build custom chatbots that can answer questions based on your content, with a customizable and translatable AJAX-powered chat interface.

The AWS Bedrock Chat Module integrates AWS-powered Generative AI functionalities into Drupal 10 and 11 websites, offering a seamless user experience for live chat interactions.

Features

  • Allows leveraging Generative AI through AWS Bedrock to build a personalized chat for your users based on a knowledge base or agent created from your information.
  • AJAX-powered chat interface for real-time interaction.
  • Configuration options for AWS authentication, including AWS Profile, Access/Secret Keys, Environment Variables.
  • Easily change your Model ARN, Knowledge Base, Agent and Search Type on the fly to provide different chat search methods.
  • Customizable chat UI with options for setting icons and colors through the module customization page.
  • Chat interface translation for multilingual sites using the Drupal core Language module.
  • Powered by Retrieve and Generate functionality available with Anthropic Claude models.

Post-Installation

Navigate to the module's settings page.

1. Input Credentials Directly or Set Environment Variables:

Navigate to the Drupal admin interface, and go to Configuration > Web services > AWS Bedrock Chat Settings (/admin/config/services/aws-bedrock-chat). Fill in the necessary AWS configurations.

Or set the proper environment variables

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN (optional)

Or

AWS_REGION
AWS_DEFAULT_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN
AWS_CREDENTIAL_EXPIRATION

2. Set Permissions:

Set appropriate permissions for the module under People > Permissions (/admin/people/permissions), ensuring only authorized roles can manage chat settings. Access to the configuration page is available for any user with the administer site configuration permission. Access for individual tabs (configuration, customization and translation) can be delegated via permissions page.

Usage

Once configured, the AWS Bedrock Chat block can be placed in any region through the block layout interface (/admin/structure/block). After placement the chat interface will appear in the selected region and will be fixed to the bottom right by default. Additional page or role visibility can be set through the block configuration.

The chat block can also be placed directly on your theme's twig templates using custom code or the Twig Tweak module.

Additional Requirements

If installing with composer the AWS SDK dependencies will automatically be installed. See Install the AWS SDK for PHP for additional instructions for downloading the AWS SDK.

Twig Tweak is recommended for the manual placement of the chat block on templates.

Drupal 10–11

Ask your assistant about AWS Bedrock Chat

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Apr 2024
Latest release
10 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Dec 4, 2025
2.0.0 Stable 10–11 Apr 22, 2025
1.1.0 Stable 10 Feb 25, 2025
1.0.2 Stable 10 Sep 17, 2024
1.0.1 Stable 10 May 14, 2024
1.0.x-dev Dev 10–11 May 14, 2024
1.0.0 Stable 10 Apr 11, 2024