Docs / Chat Agents / How-to
Add the chat and voice widget to your website
One script tag puts your agent on your site - chat, voice, or both.
How do I add the widget to my site?
Every agent has an embed snippet on its page in the dashboard. Copy it and paste it before the closing </body> tag of your site - that's the whole installation.
<script src="https://app.workflowhq.co/widget.js?agent=YOUR_AGENT_ID&channels=chat" async></script>Can the widget do voice as well as chat?
Yes. The channels parameter controls what visitors get: chat for a chat bubble, voice for talk-to-us voice calls in the browser, or both. The agent, its prompt, and its knowledge bases are the same across channels - you configure once.
Does web chat capture leads?
Yes. When a visitor shares their name with an email or phone number during the conversation, a contact is created automatically and linked to the chat, so your team can follow up from the dashboard.
Still stuck? Email hello@workflowhq.co - a real person replies, usually within a few hours.