Install the widget

One snippet — chat and voice, in your customers' language.

Install with AI — fastest

Paste this into Claude Code, Cursor, Copilot, or Codex. It reads your project, adds the widget in the right place for your framework, wires up multilingual pages, and connects the MonGPT MCP server — no manual editing.

Fetch https://mongpt.co/agent-setup/prompt.md and follow it to install MonGPT on this site. My tenantId is YOUR_TENANT_ID.

Prefer to do it by hand? Use the snippet below instead — both give the same result.

Embed code

<script src="https://pub-d34db5f4b686455e8a40dfc61dfe0c0e.r2.dev/mongpt-widget.iife.js"></script>
<script>
  MonGPT.init({ tenantId: 'YOUR_TENANT_ID' });
</script>

Changes made in Widget and Bot settings apply automatically — no need to re-embed.

Languages — automatic

You don't need a different snippet per language. On a multilingual site (e.g.example.com/jp orexample.com/?lang=jp), the widget detects the page language from <html lang>, the URL path, a ?lang=/?locale=query, or the browser — and greets & replies in it, limited to the languages you allow under Bot settings → Language.

If your site uses a non-standard query key, tell the widget which one:langParam: 'ui_lang'.

To force one language on a specific page instead, pass language:

MonGPT.init({ tenantId: 'YOUR_TENANT_ID', language: 'ja-JP' });

Codes: en-IN · ja-JP · zh-CN · ms-MY · id-ID · th-TH · vi-VN · fil-PH · ar-AE · hi-IN · ta-IN and more.

Inline embed (iframe)

<iframe
  src="https://api.mongpt.co/embed/YOUR_TENANT_ID"
  width="100%" height="600" style="border:1px solid #eee;border-radius:12px"
  allow="microphone" title="Chat with us"></iframe>

Puts the chat directly inside a page (help center, contact page) instead of a floating bubble. Size it with the width/height attributes. An iframe can't read the host page's language, so on a translated page add ?language=ja-JP to the src.

Any website

  1. 1Copy the snippet above
  2. 2Paste it just before the closing </body> tag
  3. 3Reload — the launcher appears bottom-right

WordPress

  1. 1Appearance → Theme File Editor → footer.php
  2. 2Paste the snippet before </body>
  3. 3Or use any "insert headers & footers" plugin

Shopify

  1. 1Online Store → Themes → Edit code
  2. 2Open layout/theme.liquid
  3. 3Paste the snippet before </body> and save

Wix / Squarespace

  1. 1Settings → Custom code (Wix) or Code injection (Squarespace)
  2. 2Add the snippet to the body/footer section
  3. 3Apply to all pages and publish

Lock it to your domains

Add your site domains under Settings → Allowed domains so nobody else can embed your bot and consume your quota.