Install the website chat widget
Create a widget, allow your website, publish, paste one line of code.
- Publish an agent first (see Create and publish an AI agent).
- Go to Website widget → Create widget and choose the agent.
- Add your website's address under allowed websites. The widget refuses to load anywhere else.
- Set the colours, welcome message, lead form and handoff button, and check the live preview.
- Publish the widget, then copy the install code and paste it before </body> on every page of your site.
- Open your website: the chat button appears. The Getting started list ticks “Install the widget” after the first visitor opens it on your site.
Good to know: Nothing shows on your site? Check the widget is published, the exact website address (https:// and www or not) is allowed, and the page doesn't block third-party scripts.
Need more help? Email support@machintech.tech.