Embed AI chatbot on your website

Your trained AI chatbot.
On your website.
In one line of code.

Train it on your documents, paste a single script tag, and a fully functional AI chatbot appears on any website — free to start, no credit card, no developer needed.

How it works

From document to live chatbot in three steps.

1

Train on your documents

Upload PDFs, Word docs, text files, or HTML pages. Your AI reads them and learns to answer questions strictly from your content — no hallucinations, no guessing from the open internet.

2

Copy your embed code

Open Web Chat in the RagmyAI app. Your personalized script tag is already waiting — one line with your chatbot ID pre-filled. Copy it.

3

Paste before </body>

Paste the tag into your site's HTML. A floating chat launcher appears instantly — on WordPress, Shopify, Squarespace, Webflow, or any custom site.

Three ways to embed

Pick the format that fits your site.

Option 1 · Recommended

Script tag — floating launcher

Drops a chat button into the bottom-right corner of any page. Visitors click it, a window opens, and they talk to your AI without leaving the page. Zero layout changes required.

  • Works on every website that accepts HTML
  • Best for: product pages, e-commerce, support sites
  • No CSS conflicts — widget is self-contained
<script
  src="https://chat.ragmyai.com/chat-widget.min.js"
  data-page-id="YOUR_CHATBOT_ID">
</script>
RagmyAI embedded chatbot widget on a website

Option 2

Iframe — inline placement

Place the chatbot at an exact location in your page body — inside a sidebar, a help section, or a modal. You control the dimensions; the chatbot fills them.

  • Full control over width and height
  • Best for: knowledge bases, help centres, dashboards
  • Embeds inside Notion, Coda, and similar tools
<iframe
  src="https://chat.ragmyai.com/YOUR_CHATBOT_ID"
  width="300"
  height="400">
</iframe>
RagmyAI chatbot embedded inline in a website page

Option 3

Public URL — no code at all

Every chatbot gets a shareable URL. Send it in an email, a QR code, a Slack message, or a Notion page. Anyone with the link gets a full-page chat interface — no embedding required.

  • Zero setup — just copy and share the link
  • Best for: internal tools, client handoffs, prototypes
  • Works as a QR code for offline materials
https://chat.ragmyai.com/YOUR_CHATBOT_ID
RagmyAI chatbot public URL full-page interface

After you go live

Monitor every conversation. Retrain from real visitor questions.

Once your chatbot is live, Web Chat > Notifications logs every exchange visitors have. Read any transcript and tap Retrain on any answer that was off — it opens the training editor with that exchange pre-loaded so you can correct it in context.

This is the fastest way to improve answer quality: real questions from real visitors, corrected one by one, each making the next answer sharper.

  • Full transcript for every visitor session
  • One-tap retraining from any conversation
  • Realtime usage notifications
Monitor and retrain embedded chatbot conversations

Use cases

What people embed it on.

E-commerce & Shopify stores

Train on your product catalogue, returns policy, and FAQs. Answer customer questions at 3am without hiring overnight support. Retrain from real shopper questions weekly.

  • Product recommendations from catalogue
  • Instant returns & shipping answers
  • 24/7 without hiring extra staff

Universities & online courses

Upload lecture notes, syllabi, and reading lists. Students get a tutor available around the clock that answers only from course materials — not from random internet sources.

  • Course-specific answers only
  • Reduces repeat questions to instructors
  • Works in 78 languages

SaaS & product documentation

Replace static help docs with a chatbot trained on them. Visitors ask questions in natural language instead of searching. Every unanswered question shows you a gap to fill.

  • Replaces keyword search in docs
  • Surfaces documentation gaps
  • Embeds directly in your app

"Excellently developed app that's easy to use and very intuitive. Highly recommended."

Jay D, RagmyAI power user
Jay D
Power user · Google Play review

"The best app ever. It helps me in school work and anything I want to know. Thanks to the owner of the app."

James Carter, Student
James Carter
Student · Google Play review

Common questions

Embed chatbot FAQ.

Is it free to embed a RagmyAI chatbot on my website?

Yes. The free plan lets you embed your chatbot with no credit card required. The widget, public URL, and iframe are all available on the free tier.

Do I need to know how to code?

No. Embedding takes one copy-paste. You get a script tag from the RagmyAI app — paste it before the closing </body> tag on any page. That's it.

Which website platforms does it work on?

Any platform that lets you add HTML — WordPress, Shopify, Squarespace, Webflow, Wix, and custom-coded sites. If you can paste a script tag, the chatbot works.

Can I see what visitors ask my chatbot?

Yes. Every conversation is logged under Web Chat > Notifications. You can read full transcripts and retrain answers directly from any exchange.

How is this different from a generic AI chatbot widget?

Generic chatbots answer from the internet — they hallucinate, drift off topic, and can say anything. RagmyAI answers strictly from the documents you train it on. If the answer isn't in your content, it says so.

Your website chatbot
is one paste away.

Free forever plan. No credit card. Train on a single PDF, embed in 60 seconds.

Start free — embed today

Want the full technical guide? Read the embed walkthrough →