Widget Embed Guide
Embed AI-powered text widgets on any website. Your visitors get instant support without leaving your page.
Overview
Staffify widgets are embeddable AI agents that live on your website. Visitors can chat via text and get instant AI responses. The widget connects to the same AI agent you configure in your Staffify dashboard, with the same integrations, knowledge base, and personality.
Text Widget
Chat-based interface. Visitors type messages and get AI responses in real-time.
In This Guide
Quick Start
Add the script and initialize your widget in two steps.
Embed Modes
Floating bubble, inline embed, or fullscreen — choose your layout.
Widget Key
Find and manage your unique widget key from the dashboard.
Appearance
Customize colors, fonts, position, and branding to match your site.
Domain Whitelist
Restrict which domains can load your widget for security.
Escalation
Hand off to a human agent when AI cannot resolve the request.
Multiple Widgets
Run different agents on different pages of the same site.
Destroying the Widget
Programmatically remove the widget from the page.
Security
Domain whitelisting, CSRF protection, and credential handling.
Troubleshooting
Fix common widget loading, initialization, and display issues.
Need Help?
Having trouble embedding a widget? Our team is here to help.