MBio AI Chat Docs
Documentation / Setup

Install & customize the chat widget

Embed the floating assistant on PHP, HTML, WordPress or most website builders using one script tag.

Install on HTML or PHP

Open Admin → Install widget, copy the generated snippet and paste it before </body>.

<script src="https://YOUR-DOMAIN/widget/widget.js" data-site-key="YOUR_SITE_KEY" async></script>

Session behavior

The widget stores a visitor session token locally so a visitor can continue a conversation while moving between pages. Sensitive API requests also validate the site key, session token and conversation ID together.

Conversion controls

The widget can display quote, lead, booking, handoff and AI-action confirmation interfaces when the conversation reaches the appropriate intent or workflow.