Customize and embed the Operator conversational chat and appointment widget on your website.
The Operator Website Widget provides a responsive floating chat bubble and appointment booking interface for visitors. It runs as a lightweight client script loaded from /widget.js.
Features include: - Streaming real-time AI responses. - Interactive service selectors and appointment slot pickers. - Starter prompt chips (e.g., *"What are your business hours?"*). - Proactive engagement triggers based on time on page or scroll depth.
To embed the widget on any website, paste this single script tag right before the closing </body> tag:
<script src="https://app.operator.ai/widget.js" data-org-id="YOUR_ORGANIZATION_ID"></script>You can copy your organization-specific script tag directly from Website Widget > Installation (/widget).
Under Website Widget > Appearance (/widget), customize:
- Theme Mode: Light, Dark, or System Match.
- Brand Colors: Preset palette (*Modern Purple*, *Emerald Health*, *Ocean Blue*, *Sunset Rose*) or custom hex code.
- Launcher Icon & Position: Message bubble, robot, phone, or calendar; placed bottom-right or bottom-left with custom padding offsets.
- Branding Elements: Company name, tagline, welcome greeting, avatar image, and header logo.
Under Website Widget > Domains, add your production domain to prevent unauthorized websites from loading your widget.
- You can optionally verify ownership by adding a DNS TXT record:
operator-verify=YOUR_TOKEN
- Once verified, only requests matching your whitelisted origin can initiate widget sessions.