Composer-managed install
Register the public VCS repository once, require the tagged module, and keep updates in your Drupal project workflow.
Install the ChattyBox Drupal module with Composer to add a source-cited AI chatbot to public Drupal pages without editing theme templates or building a custom RAG stack.
ChattyBox crawls your existing website, documentation, help center, CMS, or knowledge base, then embeds a chatbot that answers from your own published content instead of generic model memory.
Create a ChattyBox project, connect your public Drupal URL, and test questions from real visitors.
Add the ChattyBox GitHub VCS repository to your Drupal project and require openstaticfish/chattybox-drupal:^0.1 with Composer.
Enable the ChattyBox module and open Configuration > Web services > ChattyBox.
Paste the public widget API key from the Embed tab. The production API endpoint is configured automatically.
Enable the chatbot and verify the launcher, answer quality, and source citations on a public page.
Three-step launch
Composer manages the module code, Drupal manages configuration and page rendering, and ChattyBox handles crawling, retrieval, source citations, conversations, and question analytics.
Use these checkpoints to decide whether ChattyBox should sit beside your docs platform, replace a separate assistant, or stay isolated for testing.
Register the public VCS repository once, require the tagged module, and keep updates in your Drupal project workflow.
Configure the public widget key, loader URL, language behavior, and frontend enablement from Configuration > Web services > ChattyBox.
Connect the public Drupal URL in ChattyBox and keep Drupal’s existing publishing workflow as the source of truth.
Administrative-route guards, HTML-only loading, and escaped data settings keep the integration focused on public pages.
Keep the responsibilities clear: Composer owns the module lifecycle, Drupal remains the public content source, and ChattyBox turns that content into a tested, cited support experience.
With Composer
Register the public GitHub repository, require the module, and keep releases inside the Drupal project workflow.
In Drupal
Enable the module, paste the public project key, and choose the language behavior from the Drupal configuration form.
For visitors
Visitors get a floating chat experience that links back to the Drupal pages supporting each answer.
The Composer installation needs no theme code. If a site has public checkout, account, or membership routes, a custom module can disable the widget for those requests.
<?php
/**
* Implements hook_chattybox_load_widget_alter().
*/
function mymodule_chattybox_load_widget_alter(&$should_load, $config, $route_match) {
if ('commerce_checkout.form' === $route_match->getRouteName()) {
$should_load = FALSE;
}
}Register the public GitHub repository, require the tagged module, and enable it in Drupal. No theme code is required.
composer config repositories.chattybox-drupal vcs https://github.com/OpenStaticFish/chattybox-drupal.git
composer require openstaticfish/chattybox-drupal:^0.1
drush en chattybox -yIt adds the maintained ChattyBox widget to public Drupal HTML pages and supplies the public project key and managed production endpoint. ChattyBox handles crawling, retrieval, answers, citations, and analytics.
No. Composer installs the module and Drupal loads its declared library on eligible public HTML routes. No theme template edits are required.
No. The module does not copy content into Drupal. Connect your public Drupal URL in ChattyBox, then refresh the crawl from the ChattyBox dashboard when published content changes.
Yes. Administrative routes and non-HTML responses are skipped automatically. Use hook_chattybox_load_widget_alter() for public checkout, account, or membership routes that should not show the widget.
No credit card required. Your content is not used for model training.
Free tier. No card needed.
We use optional analytics and tag-management tools to understand site use. Choose whether to allow PostHog and Google Tag Manager. Turning analytics off reloads this page so the change takes effect cleanly. Essential site functionality and error monitoring are not controlled by this choice. Read our privacy policy.