Embed on Your Website
Add the Mojeeb chat widget to your website in minutes. Your visitors will be able to chat with your AI agent directly from any page.
How do I get the widget code?
- Navigate to Connect in the sidebar
- Find Website Widget and click Configure
- Customize the widget appearance (colors, position, welcome message)
- Copy the embed code snippet
How do I add it to my website?
Paste the embed code snippet just before the closing </body> tag on your website:
<!-- Mojeeb Chat Widget -->
<script
src="https://widget.mojeeb.app/mojeeb-chat.js"
data-widget-id="YOUR_WIDGET_ID"
async>
</script>
The widget will appear as a chat bubble in the corner of your website.
Can I customize the widget?
Yes, you can customize:
- Colors — Match the widget to your brand colors
- Position — Bottom-right or bottom-left corner
- Welcome message — The initial greeting visitors see
- Language — Arabic, English, or auto-detect
Does it work on mobile?
Yes, the widget is fully responsive and works on all devices — desktop, tablet, and mobile.
Common questions
Will it slow down my website?
No. The widget loads asynchronously and doesn't block your page from rendering. It typically adds less than 50KB to your page.
Can I use it on multiple websites?
Yes, you can create multiple widgets for the same agent and embed them on different websites.
How do I see conversations from the widget?
All widget conversations appear in the Chats section of your Mojeeb dashboard in real-time.