Add Your FormWise CoPilot as a Floating Chat Bubble
Outcome: By the end of this guide you’ll have your AI CoPilot tucked neatly in a chat icon on the bottom‑right of any webpage—ready to answer questions, capture leads, and delight visitors.


Why use the chat‑bubble embed?
Cleaner UX – keeps the page uncluttered; opens only when clicked.
Universal – works anywhere you can paste HTML (WordPress, Webflow, Shopify, Squarespace, HighLevel, custom code…).
Billable – agencies & freelancers can package the bubble as a white‑labeled AI concierge for every client site.
Prerequisites
A published CoPilot in FormWise.
Edit access to the website’s HTML (or an “Embed / Custom Code” block).
Step 1 – Grab the CoPilot URL
In FormWise → CoPilots open your bot.
Click Publish ▸ Share.
Ignore the default Embed option—click Copy URL instead (it looks like
https://app.formwise.ai/chat/XXXXXXXXXXXX).
Tip: keep that URL handy; we’ll paste it into the code below.
Step 2 – Customize the Starter Snippet

Replace the two placeholders:
COPILOT NAME YOU CAN CHANGE→ the label you want on the button (e.g. "Ask Sherpa").https://app.formwise.ai/chat/XXXXXXXXXXXX→ your CoPilot URL from Step 1.
Color & brand tweaks – adjust the background value on #fw-bubble-btn, or swap the font if your brand already has one loaded.
Step 3 – Paste the Snippet on Your Site
Open the page (or global theme/footer) where you want the bubble.
Paste the entire code just before
</body>for fastest load, or inside any Custom HTML block.Save / publish.
That’s it—refresh the page and click the bubble to test.
Step 4 – QA on Desktop & Mobile
Confirm the bubble shows on every page you added it to.
Open / close the modal; verify the iframe loads your bot.
On mobile, tilt to portrait & landscape—modal width should adapt (thanks to the media query).
Packaging & Selling to Clients 👔
Value to the Client
How You Monetize
24/7 instant replies & lead capture
One‑time setup fee + monthly hosting/maintenance
Reduced support load via AI FAQ bot
Charge per seat or per 1K messages
Modern site UX → higher conversions
Bundle inside a conversion‑booster retainer
White‑label tip: Swap colors & fonts to match the client’s brand, and host the CoPilot under their sub‑domain for a seamless feel.
Troubleshooting
Symptom
Likely Cause
Fix
Bubble doesn’t appear
Code pasted in WYSIWYG that stripped <script> tags
Use “Raw HTML / Code” block or paste in theme footer
Iframe is blank
Wrong URL or bot not published
Republish & copy URL again
Button overlaps chat widgets
Adjust bottom & right values in CSS
Next Steps
Add custom prompts or memory to make the bot feel bespoke.
Pair with a FormWise SmartForm pop‑up to collect qualified leads after each chat.
Track usage in CoPilot Analytics to prove ROI to clients.
Need help? Ping us at [email protected], or drop a question in the Community Slack.
Happy building! 🚀
Last updated
Was this helpful?