Embed Slack on Your Website
How to embed Slack on your website
Slack has no embed for public websites, so the usual way to put Slack on your site is a chat widget connected to Slack. Chatlio adds that widget to your website and sends every visitor conversation to Slack. Your team reads and replies in Slack, the reply appears in the visitor’s browser, and the visitor never needs a Slack account.
It takes three steps:
- Connect Chatlio to Slack. Sign up, authorize the Chatlio app in your Slack workspace and choose the channel where new website chats should appear.
- Paste the embed code into your website. Chatlio gives you one snippet for every page where the widget should show. There are step-by-step guides for WordPress, Shopify, Squarespace, Webflow, React and Next.js.
- Answer visitors from Slack. When someone starts a chat, it shows up in your channel. An operator picks it up and replies in Slack, on desktop or in the Slack mobile app.
<script async src="https://js.chatlio.com/widget.js">
</script>
<chatlio-widget
widgetid="YOUR-WIDGET-ID">
</chatlio-widget>
Embedding a Slack channel vs. a Slack chat widget
Some people searching “embed Slack channel in website” want visitors to see a whole channel, like a public community room. Chatlio does not do that. Each visitor gets a private conversation: they see only their own chat, never your workspace, your channels or other visitors.
That is what support and sales teams usually want. Your team keeps working in Slack, each website visitor gets a one-to-one chat, and nothing from inside your workspace is visible on the website.
What moves between your website and Slack
- Messages both ways, with images, files, code blocks and typing indicators
- The page the visitor is on, their country, city, local time, browser and operating system
- Details you already know about a logged-in visitor, such as name, email or plan, sent with the JavaScript API
Each visitor gets a dedicated Slack channel, so several chats never get mixed up, and teammates can join a conversation to help. See how live chat for Slack works or how to install and control the Slack chat widget.
Customize the widget
Change the widget’s colors, labels, position and closed state in the Chatlio dashboard, or use CSS on any plan. It works on desktop and mobile, can show an offline form when nobody is online, and can ask for a name and email before a chat starts. One widget runs on unlimited domains.
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 my website visitors need a Slack account?
No. Visitors use the chat widget on your website. Only your team uses Slack.
Can I embed Slack on more than one website?
Yes. Every plan allows unlimited domains. Plans with more than one widget let you send each site’s chats to a different Slack channel.
Can my team answer from the Slack mobile app?
Yes. Operators reply from the regular Slack app on any device. There is no separate Chatlio app to install.
Does it work with Microsoft Teams or Discord instead of Slack?
Chatlio also connects website chat to Microsoft Teams and Discord.
Can a Slack bot answer visitors?
Yes, on the Team, Business and Scale plans. See add a Slack chatbot to your website.