Web chat / website
Embed your GoBotify assistant on any website with the publishable key generated at deploy time.
Prerequisites
- A saved bot with platform set to Website/Web chat.
- Personality and knowledge base configured (recommended before embedding).
Steps in GoBotify
- In the builder, choose Website as the platform.
- Set theme color, welcome message, and bot name.
- Save + deploy. A
publishable_keyis returned in the deployment config.
Embed snippet
Replace YOUR_PUBLISHABLE_KEY with the key from the deployment response:
<script src="https://cdn.gobotify.com/widget.js"></script>
<script>
window.gobotify = window.gobotify || {};
gobotify.publishableKey = 'YOUR_PUBLISHABLE_KEY';
gobotify.themeColor = '#4f46e5';
gobotify.welcomeMessage = 'Hello! How can I help you today?';
// optional: gobotify.botName = 'Support Bot';
</script>
Place the snippet just before </body> on the pages you want the widget to appear.
Test checklist
- Open the page and start a conversation; confirm the welcome message and theme color.
- Ask questions that exist in your knowledge base to verify grounded answers.
- Check fallbacks/escalations behave per your personality settings.
- Forward message events to
/analytics/messageso the Analytics tab shows web traffic.