
If you want a support bot on a Bolt.new app, don't build one: ask Bolt to load a hosted widget's script once in index.html (or your root layout), then click Publish, or Update if the site is already live. Build your own only when chat is a feature of your product. That route puts a server function between your chat screen and a model provider such as OpenAI: you bring the API key, pay the provider for every answer, need a Bolt database before you can store the key, and make the docs answers and handoff yourself. 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 Bolt 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 Bolt, one prompt gets you a chat window. The part that decides whether visitors trust it comes later.
"AI chatbot for Bolt" covers two different jobs. One is an AI feature in your product, like an assistant that reads a signed-in user's own records. That is a build, and Bolt 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.

Bolt's own server functions docs list "Calling external AI APIs like OpenAI" as a use, 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 to approve it.
How do you build an AI chatbot in Bolt?
You describe it, and Bolt writes a chat screen and a server function that sends each message to a model. Bolt's docs explain why that call sits on a server: server functions "run behind the scenes on Bolt's servers rather than in the user's web browser, which prevents secret values from showing up where your users could see them." Bolt deploys the function for you when it creates or changes it.
The model key comes from you. When the code needs one, Bolt shows a "Missing secrets" message, and its troubleshooting page puts it plainly: "to connect to OpenAI, you need to add your OpenAI API key as a secret."

Three things to know before you build:
- You pay twice, in two places. Bolt spends tokens while it writes and fixes the code; its docs say "most of your token usage comes from Bolt reading, understanding, and syncing your project files," so a bigger app costs more per prompt. Once the bot is live, every answer is billed by your model provider, not Bolt. Pro is $25 a month for 10M tokens, or $216 a year ($18 a month) billed yearly.
- Secrets need a database first. Bolt's docs say "you can't add server functions or secrets unless you have a database set up first." Bolt creates one when the project needs it, but a plain landing page won't have one until you ask.
- Docs answers, handoff and testing are yours. A model call alone answers from what the model already knows. Answering from your help center means building retrieval and keeping that content current, which my explainer on RAG for customer service walks through. Who gets the chat the bot shouldn't answer, and with what context, is logic you design too; my piece on human handoff in chat lists what the person picking it up needs.
One Bolt habit is worth adopting before launch. Its docs suggest a line of project knowledge that makes Bolt write server function changes to a drafts folder and deploy them only after you approve, so a later prompt can't quietly change what your chatbot sends to the model.
How do you add a chatbot widget to a Bolt app?
You ask Bolt to load the vendor's script once at the root of your app, then publish. Chatonbo's Bolt guide puts it well: "Most Bolt.new web projects are Vite apps (React, Vue or Svelte) with a single index.html at the project root," so the script goes just before </body>; a Next.js project uses its root layout instead. Tidio's Bolt guide, updated 20 November 2026, is the most complete install guide for Bolt I found from any chat vendor, and it says "Bolt supports frontend JavaScript frameworks and Node.js backends, so the prompt below does not assume a specific stack."

Its instructions 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: in index.html just
before </body>, or in 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. Do not install an npm package for it. Change nothing
else, then tell me which file you edited.
If you'd rather not spend tokens on a one-line change, add it yourself. Bolt's docs say direct edits in Code view don't use tokens; Tidio's guide notes Code view is read-only in Safari, so use a Chromium browser such as Chrome.
Then make it stick. Bolt includes project knowledge "with every prompt you send in the project," so a line there stops a later request from moving or duplicating the widget. Tidio suggests the same. Something like: "Keep one chat widget script in index.html or the root layout. Do not move it into a component."

The things that go wrong, in the order I'd check them:
- You tested the preview. The published site changes only when you publish again. Bolt's docs say to "always use the Publish or Update button in the Publish menu to publish your site, since these options don't use tokens. Prompting Bolt to publish your project decreases your token balance."
- 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 in
index.htmlinstead. - Two widgets. The script landed in a component that mounts more than once, or you added it by hand after Bolt already had. Ask Bolt to find every copy and keep the one in
index.html. - 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 checked in an automated browser. Tidio's guide warns that "headless and automated browsers may not show the widget," so open the live site in a normal browser window.
The options at a glance
I've limited this to the two routes above: building with a server function in Bolt, and hosted widgets that go in as one script. Bolt's prices are from its pricing page on 24 Nov 2026; the widgets' are from their pricing pages on 23 Nov 2026.
| Option | How it goes in | Answers from your docs | Handoff to a person | Entry price |
|---|---|---|---|---|
| Build in Bolt | Chat screen plus a server function, your own model key | You build it | You build it | Bolt Pro $25/mo for 10M tokens, plus your model provider's API charges |
| eesel chat bubble | One script in index.html | 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, Bolt 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 a chatbot you build is billed per token by your model provider on top of the Bolt tokens spent building it. My chatbot cost guide works through what each unit means at real volumes.
Build it in Bolt
Best for: an AI feature inside your product. Nothing else here sits as close to your own data and UI, and you pick the model provider. The cost is that everything a support bot needs beyond the window (retrieval, handoff, testing, keeping answers current) is yours too, and you hold two bills: Bolt tokens to build it and API charges to run it.

My take: build it when the chatbot is the product. For support, the detail I'd watch is the second bill: set a usage limit with your model provider before launch, because those charges are billed by the provider, not on your Bolt plan.
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, your helpdesk), and passes what it shouldn't answer to you as a helpdesk ticket or an email.

Two things suit a Bolt 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 no tokens spent changing it. And you can set it up from a coding agent: npx @eesel/cli init chat-bubble --site https://your-app.bolt.host creates the bubble and prints the snippet, per the eesel CLI docs.
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 a Bolt install guide that goes as far as a documentation MCP server you can connect so Bolt reads Tidio's help center before editing. 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.
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 Bolt-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 Bolt app?
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 Bolt, 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.bolt.hostcreates the bubble and prints the snippet, or copy it from the Chat Bubble settings in the dashboard. - Ask Bolt to add it at the root, with the prompt above and your snippet, or paste it into
index.htmlyourself in Code view. Check the file: one copy, just before</body>or in the root layout, not in a page component. - Add a line to Project Knowledge saying where the script lives and that there is one copy.
- Allow it in your Content Security Policy, if your app sets one.
- Publish, or Update if the site is already live, from the Publish menu. It uses no tokens; asking Bolt in the chat to publish does.
- Test on the published URL as a visitor in a normal browser. 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 can mount more than once, and if React gets it as a string of HTML, the script never runs. Load it once in
index.html. - Putting a model key where users can see it. A key in a front-end file or the chat prompt is public. Keys go in Secrets, read only by server functions.
- 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 Replit, and my Next.js guide covers a hand-written app.
Try eesel on your Bolt app
If your Bolt app needs a support bot rather than a chat feature, Try eesel. The chat bubble is one script in your index.html, 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, with no OpenAI key to manage and no Bolt tokens spent after the install. 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 Bolt.new build an AI chatbot?
Yes. Ask Bolt for a chatbot and it builds the chat screen plus a server function that calls a model such as OpenAI. You supply the model provider's API key as a secret and pay that provider for every answer. Answering from your help docs and handing a chat to a person are parts you still design. My guide to an AI chatbot for your website covers what those parts involve.
How do I add a chat widget to my Bolt.new site?
Ask Bolt to load the vendor's script once in index.html just before the closing body tag, or in the root layout if your project has one, and to tell you which file it edited. Then use Publish, or Update for a site that is already live, and test on the published bolt.host address. My notes on AI chat bubbles show what a working widget looks like.
Why does my Bolt chatbot work in the preview but not on the live site?
Usually because the live site hasn't been updated. The preview shows your latest code, but the published site only changes when you click Update in the Publish menu. For a chatbot you built, also check that its secret exists: Bolt shows a Missing secrets message when a server function needs a key, such as an OpenAI key, that you haven't added. My guide to chatbot escalation covers what to test once it answers.
How much does an AI chatbot on Bolt.new cost?
Two bills if you build it: Bolt tokens while Bolt writes the code (Pro starts at $25 a month for 10M tokens, or $18 a month billed yearly), and your model provider's API charges for every answer once it is live. A hosted widget bills on its 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 add an AI chatbot on Bolt's free plan?
Yes. A hosted widget is one script, so it works on any plan, and the Publish button uses no tokens. The Free plan's limits are elsewhere: 1M tokens a month with a 300K daily cap, a Made in Bolt badge on the published site, and a hosting allowance after which the site goes offline until the next cycle. My list of free AI chatbots has more options.
Where does Bolt keep my OpenAI API key?
In Secrets, under the database icon in your project. Bolt's docs say secrets only work with server functions and are never written into your project's files, the browser code or the published site, and you need a database before you can add one. Never paste a model key into the chat prompt or a front-end file. My piece on preventing hallucinations covers what to test before launch.
Should I build a chatbot in Bolt 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 and it doesn't spend your Bolt tokens. My roundup of AI chatbots for customer service compares the widgets.