This guide provides step-by-step instructions to help you embed the EmlyLabs chatbot widget on your website. You will need basic familiarity with HTML and the ability to edit the code of your web pages. Follow these steps to successfully integrate the ai chatbot script.
Access to edit the HTML of your website.
The JavaScript snippet for embedding the chatbot widget, which is provided by EmlyLabs (similar to the one shown below).


It is recommended to place the chatbot script just before the closing </body> tag for better performance and load order.
To embed your chatbot script into a standard HTML website, follow these steps:
</body> tag.<html>
<head>
<title>Your Website</title>
</head>
<body>
<!-- Your Website Content -->
<!-- Embed Chatbot Script -->
<script type="text/javascript">
...
</script>
</body>
</html>
If you’re using WordPress, you can easily embed the chatbot script through widgets or page builders.
Option 1: Using WordPress Theme Customizer (Header/Footer Script)
Appearance → Customize → Additional CSS/JavaScript or Theme Settings → Header/Footer Scripts (depending on your theme).<script type="text/javascript">...
</script>
Option 2: Using a Plugin (Insert Headers and Footers)
Settings → Insert Headers and Footers.<script type="text/javascript">
...
</script>
Embedding the EmlyLabs chatbot widget in your website is a straightforward process that involves adding the provided script to your HTML. By following these instructions, you can easily offer automated support to your visitors, enhancing their experience with a helpful, interactive assistant.