Add Discord Chat to Your Website
How to add Discord chat to your website
Chatlio adds a chat widget to your website and connects it to your Discord server. Each visitor who starts a chat gets a thread in a channel you choose, your team replies in that thread, and the reply appears in the visitor’s browser. Visitors never need a Discord account, and they never see your server.
It takes three steps:
- Add Chatlio to your Discord server. Sign up, click Add Chatlio to Discord, pick your server and approve the permissions. Chatlio can create a private channel for visitor chats, or use one you already have.
- Paste the widget code into your website. Chatlio gives you one snippet for every page where the widget should show. There are guides for WordPress, Shopify, Squarespace, Webflow, React and Next.js.
- Answer visitors from Discord. A new chat posts a conversation card in your channel and opens a thread for that visitor. Anyone on your team can reply in the thread, on desktop or in the Discord mobile app.
<script async src="https://js.chatlio.com/widget.js">
</script>
<chatlio-widget
widgetid="YOUR-WIDGET-ID">
</chatlio-widget>
Discord server widget, embedded channel or chat widget?
People searching for a “Discord widget for a website” usually want one of three things:
Discord’s own widget works as an invite, not as a way to talk to you. An embedded channel suits a community room, and Chatlio does not do that. Chatlio gives each visitor a private conversation on your website and lets your team handle it in Discord, which suits support, sales and questions from customers who aren’t in your server.
The chat in the corner of this page is Chatlio, and our team answers it in Discord. Send us a message to see how it works.
What your team sees in Discord
Each visitor gets their own thread, named after the visitor. The conversation card in the channel shows whether the chat is unanswered, in progress or closed, who on your team replied first, and the page the visitor is on.
- Replies in the thread go to the visitor, with a typing indicator while you type.
- Mention a teammate to leave a note the visitor doesn’t see.
- Files go both ways.
/chatlio endcloses the conversation and can email or post the transcript.
Visitor threads are visible to everyone who can view the channel, so use a private channel if your server has community members in it. See who can see visitor conversations.
Show online only when someone can answer
Setup creates a Chatlio Operators role. The widget shows online only while someone with that role is online in Discord, and you can add operating hours on top. When nobody is around, the widget shows a contact form or hides itself, as you choose.
Pricing
Chatlio starts at $30 per month, and every plan has a 30-day free trial. Plans differ by number of operators, monthly conversations and widgets. Compare plans.
Frequently asked questions
Do website visitors need a Discord account?
No. Visitors use the chat widget on your website. Only your team uses Discord.
Can visitors see my Discord server or other chats?
No. A visitor sees only their own conversation in the widget. They don’t join your server and can’t see your channels or other visitors.
Does Chatlio need the Administrator permission?
No. Chatlio asks only for the permissions it uses, such as creating threads and posting messages. The full list is in the Discord setup guide.
Can I use Slack or Microsoft Teams instead?
Yes. Chatlio also connects website chat to Slack and Microsoft Teams.
Where can I read more?
See Discord live chat for your website for an overview, and the Discord setup guide for every step and command.