Minyut/Docs
Widget

Installation.

Minyut ships as a tiny script tag. Paste it once, and the widget renders in an isolated Shadow DOM so it does not fight your site CSS.


1. Copy your embed code

Open your chatbot in the dashboard, go to Settings then Embed, and copy the script tag. The token is unique to that chatbot.

html
<script
  src="https://minyut.com/widget.js"
  data-token="YOUR_EMBED_TOKEN"
  async
></script>

2. Paste it before </body>

Put the snippet near the end of your page HTML, before the closing </body> tag. The script loads asynchronously, so it will not block the rest of your page from rendering.

3. Verify the chatbot is ready

Open the page in a fresh browser tab. You should see the launcher in the bottom-right corner. If the chatbot says it is still learning, wait for document processing to finish in the dashboard.

CMS placement

PlatformWhere to pasteGuide
WordPressTheme footer, header/footer plugin, or site-wide custom code.WordPress guide
WebflowProject Settings, Custom Code, Footer Code.Webflow guide
Shopifytheme.liquid, before </body>.Shopify guide
React/Next.jsUse the framework-specific script loader.React guide

Optional attributes

Dashboard settings are the defaults. Script attributes let you override behavior on a specific page. Full details live in Configuration.