Widget Installation
Add the Hal chat widget to your website with a single line of code.
Quick Install
Add this script tag before the closing </body> tag:
HTML
<script src="https://api.chatwithhal.com/widget.js" data-project-id="YOUR_PROJECT_ID" defer></script>Replace YOUR_PROJECT_ID with your actual project ID from the dashboard.
Finding Your Project ID
- Go to Settings > Embed Code in the dashboard
- Copy the complete script tag
- Paste it into your website's HTML
Verify Installation
After adding the script:
- Visit your website
- Look for the chat bubble in the bottom-right corner
- Send a test message
- Check your Hal dashboard - the conversation should appear