
Website Integration
Add the Chatleh chat widget to your website with a simple embed code.
Installation
To add Chatleh to your website, you'll need to insert our widget script into your site's HTML. The script tag should be added just before the closing </body> tag:
<script src="https://chatleh.com/api/e?uid=YOUR_UID" async></script>
Installation Steps
- Copy your unique widget code from the dashboard
- Access your website's HTML files
- Add the script just before the </body> tag
- Save and upload the changes
- Test the chat functionality
Note for WordPress Users
We currently don't offer a WordPress plugin - you'll need to add the code manually to your site's footer. Most WordPress themes allow adding code through theme settings or using a header/footer code plugin.
Basic Configuration
You can configure the basic settings through your dashboard:
Basic Settings
- Chatbot name
- Primary color
- Welcome message
- Prompt buttons text
Contact Collection
- Basic name/email form
- Shown at conversation start
- Email notifications
Testing Your Integration
- Visit your website after adding the code
- Check that the chat widget appears
- Test basic interactions
- Verify contact form works
- Test on mobile devices
Need Help?
If you're having trouble adding the widget to your site, contact our support team at support@chatleh.com