Skip to main content

Website Widget

The Mojeeb website widget is a chat bubble that sits on your website, allowing visitors to interact with your AI agent in real-time. No signup is required for visitors — they simply click the chat button and start a conversation. The widget is fully customizable to match your brand and works on both desktop and mobile.

Mojeeb AI agent customer support - Website widget connection

How do I set up the widget?

  1. Go to Connect in the sidebar
  2. Find Website in the "Add Connections" section
  3. Click Connect + (or Edit if already configured)
  4. Customize the widget appearance and behavior
  5. Copy the code snippet
  6. Paste it into your website's HTML before the </body> tag

For step-by-step embedding instructions, see Embed on Your Website.

What can I customize?

SettingOptions
ColorsCustom brand palette (primary color)
PositionBottom-right, bottom-left, top-right, top-left
Welcome messageCustom greeting text for new visitors
LanguageArabic, English, or auto-detect
Launcher textButton text (default: "Chat with us")
Bot avatarCustom image URL for the chat agent avatar
Agent nameOverride the display name shown in chat
Chat iconCustom icon URL for the launcher button
Custom CSSURL to a custom CSS file for advanced styling
Powered by badgeShow or hide the Mojeeb branding
Auto-open delayDelay in milliseconds before the chat auto-opens

What widget modes are available?

Mojeeb offers two widget modes:

  • Default mode — A ready-made chat widget with a launcher button. Visitors click the button to open the chat. This is the standard setup for most websites.
  • Headless mode — A custom integration with full programmatic control. Use this if you want to build your own chat UI or trigger the widget from custom buttons.

How does the widget handle conversations?

  • Visitors can start a conversation without creating an account
  • The AI agent responds instantly using your Knowledge Base
  • Conversations appear in your Chats dashboard in real time
  • Leads are automatically captured from widget conversations
  • Visitors can send text, images, audio, and documents

Yes. Mojeeb generates a share link for each widget that opens the chat in a standalone page. This is useful for sharing via email, SMS, or social media. Share links have a configurable expiration (default: 30 days).

Does the widget work on mobile devices?

Yes. The widget is fully responsive and optimized for mobile browsers. It adapts to smaller screens and supports touch interactions.

Common questions

Do visitors need to create an account?

No. The widget allows anonymous conversations. Visitors simply click and start chatting. Their information is captured as a lead automatically during the conversation.

Can I install the widget on multiple websites?

You can create multiple widget configurations for the same agent. Each configuration can have different customization settings.

Does the widget affect my website's performance?

The widget loads asynchronously and does not block your page from rendering. It has minimal impact on page load time.

Can I control when the widget appears?

Yes. Use the auto-open delay setting to control when the chat automatically opens, or use headless mode for full programmatic control over when and how the widget appears.