Add the Maison concierge chat to your Drupal site. The recommended approach is the official Drupal module — no code editing required. Supports Drupal 9.x, 10.x, and 11.x. Drupal official site ↗
Before you start
- Administrator access to your Drupal site
- SSH or Drush access (for module installation)
- Your Client UUID — find it in the Business Console under Settings
Recommended: Official Drupal Module
Get the module
Clone the repository or download the zip from GitHub:
New to Git? See the GitHub cloning guide or download the zip directly from the repository page.
Install the module
Copy the
maison_agentdirectory into your Drupal installation atweb/modules/custom/. Then enable and clear cache:Configure the module
Navigate to Configuration > Web services > Maison Agent Settings (or go directly to
/admin/config/services/maison-agent). Enter your Client ID. Optionally set Locale and Icon Position (top, bottom, left, right in pixels). Click Save configuration.Verify
Visit your site. The Maison chat icon should appear at the configured position. Open your browser DevTools (F12) and look for
#maison-chat-iconin the DOM.
Alternative: Manual theme editing
If you prefer not to use the module, add the embed code directly to your theme's html.html.twig template, just before the closing </body> tag. Replace YOUR_CLIENT_UUID with your actual Client UUID.
For the full list of configuration options, control methods, and callbacks, see the Widget SDK Reference.
Common mistakes
maison_agent directory must be inside web/modules/custom/, not in the contrib directory. Adjust the path if your webroot differs.drush cr after enabling the module or changing configuration. Drupal caches aggressively.bottom: 20, not bottom: '20px'. Values are plain numbers representing pixels — do not include units.Not sure if it's set up correctly? Use the Site Diagnostic tool.