Add your AI Chatbot to Wix
Install the floating fonio Chatbot Widget on your published Wix website.
This guide adds a floating chat button to a published Wix site with a connected domain. Use Wix Custom Code in your site dashboard. Wix Custom Code guide.
Add the widget
- In fonio, open your chat assistant and go to AI Chatbot → Widget. Add your published website's domain under Allowed websites. For a new widget, click Create installation script. For an existing widget, save any changes to Allowed websites. Under Installation → Display mode, select Floating, then select Copy script to copy the full embed code.
- In your Wix dashboard, open Settings → Custom Code → Add Custom Code. Paste the code and give it a name, such as “fonio AI Chatbot”.
- Under Add Code to Pages, choose where the widget should appear. If you use All pages, select the option to load the code on each page. Under Place Code in, choose Body – end, then click Apply.
- If you're moving from a Wix HTML embed, remove the old embed in the Wix editor and publish the change.
Test on your published Wix site
Open the published site in a private browser window. Check that the chat button appears, open it and send a test message. If you enabled the widget on multiple pages, navigate between them and check that the button is available on each one. Wix runs Custom Code on the published site.
If the chatbot is unavailable
A Wix HTML Embed runs in a separate iframe. If the widget is installed there, fonio may check the iframe's address even though visitors see your site's domain in the browser. Follow the Custom Code steps above to install it on the published page. If the error persists, contact fonio support with the affected public page URL. Wix documentation on HTML iframes.
