
If you want a support bot on a Replit app, don't build one: ask Replit Agent to load a hosted widget's script once in your app's root HTML document or shared layout, then republish. Build your own only when chat is a feature of your product. That route uses Replit AI Integrations, which needs the Core plan or higher and bills model calls at the provider's public API price from the same credits you build and publish with, and it leaves answering from your docs and handing off to a person for you to make. eesel's chat bubble is that one script: it answers from your site and help docs and hands the hard ones to you.
Build or embed: which AI chatbot does your Replit app need?
I'm Riell, and I work on eesel's support team. Most of what I do happens after a chatbot goes live: reading the questions it couldn't answer, finding the visitor who only wanted a person, fixing the answer that went stale. On Replit, Agent gets you a chat window in one prompt. The part that decides whether visitors trust it comes later.
"AI chatbot for Replit" covers two different jobs. One is an AI feature in your product, like an assistant that reads the user's own records or a Q&A screen over their uploads. That is a build, and Replit Agent is good at builds. The other is a support bot that answers visitors from your docs and passes what it can't answer to you. That is a script you add and then tune.

Replit lists "Conversational interfaces: Build chatbots and AI assistants" as a use case for its managed AI access, so building is a supported path. It just isn't the shortest path to a support bot. If a coding agent is doing your building, it can set up the widget route too: the eesel CLI creates the chat bubble and prints its snippet from a terminal, and connecting a helpdesk for handoff still needs an admin's approval.
How do you build an AI chatbot with Replit Agent?
You describe it, and Agent builds a full-stack web app: Replit's docs say web apps are "full-stack by default," with API routes and server-side logic as the app needs them. The model call comes through Replit AI Integrations, which gives you models from OpenAI, Anthropic, Google, Grok and OpenRouter with "no developer account setup, no API key management."

On a paid plan, Agent picks this up from your prompt. In a new app it shows "OpenAI (Replit managed)" or the equivalent for other providers. In an existing app it asks first, with an Approve or Dismiss prompt; Dismiss means you supply your own key instead.
Three things to know before you build:
- It needs Core or higher, and it spends your credits. On Starter, Replit AI Integrations "is disabled," so you'd bring your own key. On Core and up, Replit "bills you at the public API price," deducted from the same credits that pay for Agent's paid work, publishing and databases. Core is $20 a month ($18 billed yearly) with $20 toward more powerful models. On Pro and Enterprise, an organization admin has to switch it on first, since access "is disabled by default."
- Answering from your docs is a second feature. A model call alone answers from what the model already knows. To answer from your help center, you prompt in retrieval and then keep that content current yourself. My explainer on RAG for customer service covers what that layer does.
- Handoff and testing are yours. Who gets the chat the bot shouldn't answer, how, and with what context, is logic you design. So is checking the bot's answers before visitors see them. My piece on human handoff in chat lists what the person picking it up needs.
One Replit detail catches people at launch: "Secrets you set in the Project Editor do not automatically carry over to your published app." If you build with your own model key, add it again under Production app secrets in the Publishing pane, or the chatbot that worked in Preview will fail with errors about undefined values once it's live. Keep the key on the server side in Secrets, never in front-end code.
You'll also publish on Autoscale or Reserved VM, not Static. Replit's docs say Static Deployments "are not compatible with Replit Apps created using Agent," and secrets aren't available there either. Autoscale suits a chatbot with uneven traffic: it scales to zero when idle and you "pay while requests are being served."
How do you add a chatbot widget to a Replit app?
You ask Agent to load the vendor's script once at the root of your app, then republish. Unlike a builder with one fixed file layout, a Replit app can be any framework, so don't guess the file. Tidio's Replit guide, the only chat vendor's Replit install guide I found, says to "let Agent use your existing app structure rather than assume a fixed file path."

Its instructions to Agent work for any vendor's script: put it "in the root HTML document or the root layout, so it loads once and stays loaded during client-side navigation. Do not add it to single pages or to a component that mounts more than once." Here's the prompt I'd paste, with your vendor's snippet under it:
Add this chat widget script once at the root of the app: the root HTML
document before </body>, or the shared root layout if the framework has one.
Make sure the script actually executes (not inserted as an HTML string),
loads only in the browser, and is not added to any page or component.
Keep one copy only. Change nothing else, then tell me which file you edited.
Then make it stick. Tidio's guide says Agent reads replit.md at the project root "when processing requests," and suggests a line of standing project guidance there. I'd use it so a later request doesn't move or duplicate the widget. Something like: "Keep one chat widget script in the root HTML document or shared layout. Do not move it into a component."

The things that go wrong, in the order I'd check them:
- You tested the preview. Replit calls the preview URL "private by default, temporary, and intended for development." Changes "do not automatically replace the live release," so select Republish and test the
.replit.appURL. - The script never ran. A widget vendor, Common Ninja, explains the usual cause in a React app: "If you hand that whole thing to React as a string of HTML, the container appears and the script tag does not run." Load it once at the root.
- Two widgets, or one that reloads on every page. The script ended up in a component that mounts more than once. Ask Agent to find every copy and keep the one at the root.
- A Content Security Policy blocks it. Allow the vendor's script host. For eesel that is
https://cdn.eesel.aifor scripts and connections; for Tidio,code.tidio.co. - You're on Starter. The widget works, but your one free published app "will automatically go down after 30 days" and carries the Made with Replit badge, so a support bot there has a short life.
Replit does have a built-in Feedback Widget you can switch on when you publish. It isn't a chatbot: visitors send feedback, screenshots and files to your Inbox, and you send them on to Agent. Nobody answers the visitor, so keep it for bug reports.
The options at a glance
I've limited this to the two routes above: building with Replit AI Integrations, and hosted widgets that go in as one script. Prices are from each vendor's pricing page on 23 Nov 2026.
| Option | How it goes in | Answers from your docs | Handoff to a person | Entry price |
|---|---|---|---|---|
| Replit AI Integrations | Built by Agent, server route | You build it | You build it | Core $20/mo with $20 of credits, then public API prices |
| eesel chat bubble | One script at the app root | Yes: site, help center, Drive, Notion, helpdesk and more | Helpdesk ticket, email, or Zendesk Messenger or Freshchat | 7-day trial with 100 credits, then $299/mo for 500 |
| Tidio | One script, Replit guide from Tidio | Yes (Lyro) | Live chat in Tidio's inbox | Starter $33/mo billed yearly, 50 conversations |
| Chatbase | One script | Yes | Chatbase's helpdesk inbox | $150/mo, or $120/mo billed yearly |
| Crisp | One script | Yes, on paid plans | Crisp's own inbox | Mini $45/mo with $5 of AI credits |
Read the units before comparing prices. eesel counts a chat as 1 credit however many messages go back and forth, Tidio counts conversations handled by Lyro and your team together, Chatbase counts message credits, Crisp counts AI credits by usage, and Replit counts dollars of credits at each model's API price. My chatbot cost guide works through what each unit means for a real month.
Replit AI Integrations
Best for: an AI feature inside your product. Nothing else here sits as close to your own data and UI, and you choose the model from a long list across five providers. The cost is that everything a support bot needs beyond the window (retrieval, handoff, testing, keeping answers current) is yours too, and model calls come out of the credits you build with. See my Replit pricing guide for how those credits work.

My take: build it when the chatbot is the product. For support, the detail I'd watch is the shared balance: a busy week of building with Agent uses the same credits your chatbot answers visitors with, so set a budget alert in Replit's billing settings before launch.
eesel chat bubble
Best for: a support bot that answers from what you already wrote and hands off to you. The chat bubble is one async script that loads from cdn.eesel.ai, and eesel's docs say it "works with any framework" and "reads nothing else from your site's code." It answers from your website, help center and whatever else you connect (Google Drive, Notion, Confluence, your helpdesk), and when it shouldn't answer it creates a helpdesk ticket, sends an email, or opens Zendesk Messenger or Freshchat with a summary.

Two things suit a Replit builder. You say where the bubble shows in plain words in its instructions ("Show the chat bubble only on /help/* and product pages."), so there's nothing to code per page. And you can set it up from a coding agent: npx @eesel/cli init chat-bubble --site https://your-app.replit.app creates the bubble and prints the snippet, per the eesel CLI docs, so the same terminal session that builds your app can add its support.
My take: the right pick when the job is support and you want it tested and answering this week. Skip it for a bot that answers account-specific questions from the browser alone: the bubble treats a visitor's name or email passed from your page as unverified unless your site signs it, and signed visitors are set up by asking eesel. There's no always-free tier: the free plan is a 7-day trial.
Tidio
Best for: a small team that wants live chat and an AI agent in one inbox, with the most complete Replit install guide of any vendor, down to a documentation MCP server you can connect so Agent can read Tidio's help center. Lyro answers from your knowledge base, and your team picks up in the same place. The Tidio pricing page puts Starter at $33 a month billed yearly for 50 conversations, and Growth at $63 a month from 100.
My take: easy to install and easy to outgrow. Lyro's conversations and your team's count toward the same plan limit, so check the next tier's price before a busy month. My Tidio alternatives list covers the step up.
Chatbase
Best for: a bot trained on your own content, embedded by script, with its own helpdesk inbox for the chats it hands off. Chatbase pricing starts at $150 a month ($120 billed yearly) for 4,000 message credits, and removing "Powered by Chatbase" is another $99 a month.
My take: the entry price is high for a side project, and branding removal is an add-on. There's no Replit-specific guide, so use the prompt above. More in my Chatbase pricing breakdown.
Crisp
Best for: free live chat now, with AI when you pay. Crisp's free plan has no AI; Crisp pricing puts Mini at $45 a month with $5 of AI credits, which Crisp estimates at around 90 automated conversations, and Essentials at $95 with $25 (around 450).
My take: flat per-workspace pricing is easy to plan around, but the AI allowance on Mini is small. See my Crisp pricing notes.
Which chatbot route fits your Replit app?
By now you know the two routes. Pick the job your chatbot has and see where it lands.
Pick the job your chatbot has to do to see which route fits and why.
How do you add an AI support chatbot to Replit, step by step?
- Get the snippet. Create the bot with your vendor, connect your docs or help center, and copy the embed code. With eesel,
npx @eesel/cli init chat-bubble --site https://your-app.replit.appcreates the bubble and prints the snippet, or copy it from the Chat Bubble settings in the dashboard. - Ask Agent to add it at the root. Paste the prompt above with your snippet. Check the file it names: one copy, in the root HTML document or shared layout, not in a page component.
- Add a line to
replit.mdsaying where the script lives and that there is one copy. - Allow it in your Content Security Policy, if your app sets one.
- Republish. The
replit.devpreview is not your live app. - Test on the published URL as a visitor. Ask the three questions your customers ask most, then one it shouldn't answer, and check where that one goes. My guide to chatbot escalation covers the handoff rules worth writing down.
Common mistakes
- Pasting the embed into a page component. It renders as a string and never runs. Load it once at the root.
- Leaving production secrets empty. A built chatbot that worked in Preview fails live when its key isn't in Production app secrets.
- Launching without a test set. Before visitors see it, check the bot's answers against real questions. My notes on preventing hallucinations cover what to test.
- Forgetting your other builders. If part of your product lives elsewhere, the same one-script approach works on Lovable, and my Next.js guide covers a hand-written app.
Try eesel on your Replit app
If your Replit app needs a support bot rather than a chat feature, Try eesel. The chat bubble is one script at your app root, it answers visitors from your site, help center and the docs you connect, and it hands the questions it shouldn't answer to you as a helpdesk ticket or an email, without touching your Replit credits. You decide what it may do for an anonymous visitor versus your own team, and anything set to ask first waits for a yes. A chat is 1 credit however many messages go back and forth, the free plan is 100 credits for 7 days, and plans start at $299 a month for 500 credits.

Frequently Asked Questions
Can Replit build an AI chatbot?
Yes. Describe the chatbot to Replit Agent and it builds a full-stack web app with a chat screen and a server route that calls the model. On Core, Pro and Enterprise it uses Replit AI Integrations, so you don't need your own OpenAI or Anthropic key. Answering from your help docs and handing a chat to a person are still parts you design. My overview of Replit AI covers what Agent does well.
How do I add a chat widget to my Replit app?
Ask Agent to load the vendor's script once in the app's root HTML document or shared layout, not in a single page or component, and to tell you which file it edited. Then republish and test on your published .replit.app URL, because the replit.dev preview is not your live app. My guide to an AI chatbot for your website covers the same step on other platforms.
Why does my chatbot work in Replit's preview but not in the published app?
Usually because you haven't republished, or because a secret is missing in production. Changes in the Project Editor don't replace the live release until you republish, and Replit's docs say secrets you set in the Project Editor do not automatically carry over to the published app: add them under Production app secrets in the Publishing pane. My notes on AI chat bubbles show what a working widget looks like.
How much does an AI chatbot on Replit cost?
A chatbot built with Replit AI Integrations is billed at the model provider's public API price and deducted from your Replit credits, alongside building and publishing. Core is $20 a month ($18 billed yearly) with $20 of credits for paid models. Hosted widgets bill on their own: eesel is $299 a month for 500 credits at 1 credit a chat, Crisp's AI starts on its $45 Mini plan, and Chatbase starts at $150 a month. My chatbot cost breakdown compares the units.
Can I build an AI chatbot on Replit's free plan?
Only with your own API key. Replit AI Integrations is disabled on the Starter plan, and the one free published app expires after 30 days and carries a Made with Replit badge. A hosted widget works on any plan because it is a single script. My list of free AI chatbots has more options.
Is Replit's Feedback Widget a chatbot?
No. It lets visitors to your published app send feedback, screenshots and files, which land in your Inbox in the Project Editor for you to send to Agent. Nobody answers the visitor. It is useful for collecting bug reports, not for support. See my Replit guide for its other built-in tools.
Should I build a chatbot in Replit or use a support widget?
Build it when chat is a feature of your product, such as an assistant over the user's own data. Use a support widget when the job is answering visitors from your docs and passing hard questions to a person, because retrieval, handoff and testing come with it. My roundup of AI chatbots for customer service compares the widgets.