Follow these simple steps to add your voice-enabled AI chatbot to your website.
After creating your bot, copy the widget embed code from your bot's dashboard. It should look like this:
<script src="https://www.applabc.com/app-lab-voice.js?v=1.3"></script>
<app-lab-voice-widget
bot-id="YOUR_BOT_ID"
api-url="https://www.applabc.com"
></app-lab-voice-widget>
Make sure to replace YOUR_BOT_ID
with the unique ID provided in your bot's dashboard.
Add the code snippet to your website's HTML. You can place it in one of these locations:
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<!-- Your website content here -->
<!-- App Lab Voice Bot Widget -->
<script src="https://www.applabc.com/app-lab-voice.js?v=1.3"></script>
<app-lab-voice-widget
bot-id="YOUR_BOT_ID"
api-url="https://www.applabc.com"
></app-lab-voice-widget>
</body>
</html>
After adding the widget to your site:
Note: If the widget doesn't appear, check your browser's console for any errors and ensure your domain matches the one configured in your bot settings.
If you're still having trouble installing the widget or have questions, please contact our support team: