Install the widget
Add the chat widget to any website with one script tag.
The widget is one small script (about 6 KB). Copy your snippet from the assistant's Install tab — it looks like this:
<script
src="https://antalkchat.com/widget/v1.js"
data-assistant="ast_pub_YOUR_ID"
async
></script>
Paste it just before </body> on every page where the chat should appear. It only works on the domains listed in
the assistant's Websites tab (your website is added there when you give its address).
Plain HTML
Add the snippet before </body> in your page template (or in every page).
WordPress
- Install a plugin that adds code to the footer (for example "WPCode").
- Add a new footer snippet, paste the script tag and activate it.
Or add it to your theme's footer.php before </body>.
Shopify
- Online Store → Themes → … → Edit code.
- Open
layout/theme.liquidand paste the snippet just before</body>. Save.
Wix
Settings → Custom code → Add custom code: paste the snippet, choose All pages, place it in Body – end.
Webflow
Project settings → Custom code → Footer code: paste the snippet and publish the site.
Control it from JavaScript
The script exposes window.Assistant:
Assistant.open(); // open the chat
Assistant.close();
Assistant.send('Hello'); // ask a question
Assistant.on('message', (event) => console.log(event));
Events: ready, open, close, message, error.
Look and texts
Colours, position and every text (in English and Bangla) are set in the assistant's Branding and Texts tabs — no code changes needed.