Add the Maison concierge chat widget to any static HTML page in two steps — no build tools or frameworks required. Plain HTML official site ↗
Prerequisites
- Access to edit your HTML files
- Your Client UUID — find it in the Business Console under Settings
- The page must be served over HTTP/HTTPS (not opened directly as a file)
Steps
Add the script tag to <head>
Paste the following line inside your
<head>element. It loads the widget bundle from Maison's CDN.Add the init script before </body>
Paste this script block just before your closing
</body>tag. ReplaceYOUR_CLIENT_UUIDwith the UUID from your Business Console.Save and open your page in a browser
Load or reload your page. Within a few seconds you should see the Maison chat icon appear in the bottom-right corner.
Verify in DevTools
Open your browser DevTools, switch to the Elements tab, and look for
#maison-chat-iconin the DOM. If it's present, the widget initialised correctly.
Full page example
A complete minimal HTML page with both snippets in their correct positions.
For the full list of configuration options, control methods, and callbacks, see the Widget SDK Reference.
Common mistakes
<head> before the agent-inject.bundle.js script tag, window.initMcbs will be undefined. Always place the init script after the bundle tag, or use DOMContentLoaded.initMcbs at the top of a bare <script> tag that loads synchronously, it may run before the DOM is ready. Wrapping in DOMContentLoaded is the safest pattern.defer to the bundle script tag delays execution until after parsing. The DOMContentLoaded listener pattern above handles this correctly — do not remove it if you add defer.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.