A v0 chatbot that answers from your docs, with one script

v0 can build a chatbot into your app from a prompt, using Vercel’s AI Gateway, so there’s no API key to add. You pay for its replies in AI Gateway credits, spend v0 credits on each change you ask for, and build the support side yourself. Deacon is an AI customer support agent with that side built in. It answers your visitors in seconds from your own docs, says so when it doesn’t know, and shows you what they asked. It goes in your root layout as one script, and there’s a free plan with no card.

v0 and Vercel docs and prices read on 23 September 2026

What a v0 chatbot gives you, and what Deacon adds

Build a chatbot with v0 and you get

  • A chat interface in your Next.js app, written from your prompt with the AI SDK
  • Models through Vercel’s AI Gateway, with no API key to set up
  • Replies paid for in AI Gateway credits, after a monthly free credit on some models
  • A vercel.app address to publish it on, with each change paid for in v0 credits

Deacon adds, from one script in your layout

  • Answers in seconds from your own docs, in whatever language the visitor writes
  • A plain “I don’t know” and a request for an email when your docs don’t cover it
  • An email to you when a visitor leaves an address or asks for a person
  • Every question saved, and the product questions grouped into topics and counted
  • Goals, funnels, utm_source tags and JavaScript errors, on every plan

Try Deacon for free

Install Deacon

A v0 chatbot and Deacon, side by side

Setting it up

Deacon
One script in your root layout, added in the Code tab or by asking v0.
Built with v0
A prompt to v0. Models come through Vercel’s AI Gateway, with no key to add.

Where answers come from

Deacon
Passages from your website, files, pasted text and written answers, found for each question.
Built with v0
Whatever the code sends the model. Grounding it in your docs is yours to ask for and test.

When your docs run out

Deacon
It says it doesn’t know instead of guessing, and asks for an email.
Built with v0
Up to your prompt. Nothing stops a confident guess unless you build it.

Reaching you

Deacon
An email when someone leaves an address or asks for a person, and your reply from the dashboard appears in their chat if it’s still open.
Built with v0
Yours to build, such as a contact form that emails you.

What people asked

Deacon
Every conversation kept and searchable, with the questions grouped into topics and counted.
Built with v0
Saved only if you add a database, which v0 connects from the Vercel Marketplace.

Getting better

Deacon
Write the answer once to a question your docs missed, and it becomes part of what Deacon knows.
Built with v0
Rework the prompt or the code, spending v0 credits on each change you ask for.

Traffic

Deacon
Visitors, sources, goals, funnels and JavaScript errors, over 7, 30 or 90 days or all time, on every plan.
Built with v0
Vercel Web Analytics. On the free Hobby plan, a month of history and no custom events or UTM tags.

Cost

Deacon
Free on one seat, with 50 answers a month and no card. Every feature is on every plan.
Built with v0
v0 credits to build and change it, and AI Gateway credits for every reply.

What Deacon does for a founder on v0

One prompt builds the chat box, not the support

v0 can put a chat in your app in a single prompt. Support needs answers kept to your docs, a plain “I don’t know” when they run out, a way for people to reach you and a record of what they asked. Deacon comes with all of that on the free plan, so your v0 credits go on your product.

No Gateway bill for every reply

A chatbot v0 builds pays for each reply through Vercel’s AI Gateway, at the model provider’s list price once you’re past the free tier. Deacon comes with its model. Each plan includes a set number of answers a month, every plan answers with the same model, nothing is billed past them and no plan upgrades itself.

Answers in seconds, and fewer questions for you over time

Deacon answers in seconds, day or night, in the language each visitor writes in. When your docs don’t cover something, it says so and asks for an email, and you get an email when one is left. Press Answer this and write the reply once. It joins what Deacon knows, so the more you answer, the less it needs you.

See what visitors ask, and what they do next

Deacon keeps every conversation, groups the questions into topics, counts how many people asked each one and labels most of them, as a feature ask, a bug report, a how-to and so on. The same script counts sign-ups as goals, chains them into funnels, reads utm_source on your links and records JavaScript errors, on the free plan too.

How to add Deacon to a v0 app

Start in Deacon. Sign up, add your docs or your site, and list the address your app is published on, because Deacon only shows the widget on the addresses you list. That’s your vercel.app address, or your own domain once you’ve added it under Settings › Domains in v0. Every preview deployment gets an address of its own that isn’t on your list, so test on production.

Then copy your script tag from Deacon’s Install page. v0’s docs don’t cover third-party scripts, but v0 builds with Next.js, and Next.js’s guide to scripts says to load one for every route with its Script component in the root layout. In v0’s Code tab, open app/layout.tsx, import Script from next/script, and add a Script element with the same src and data-key as your tag. Or paste the tag into the v0 chat and ask v0 to add it to the root layout with next/script.

Save, then open Publish and choose Publish Changes, because your edits reach the production address only when you publish. Deacon’s Install page shows when it has seen your script on a live address, and keeps checking by itself.

Web Analytics on Vercel’s Hobby plan has no custom events, so count sign-ups in Deacon. Ask v0 to add data-deacon-goal="Sign up" to your sign-up form, or to call Deacon.track('Sign up') once an account is created. The install guide covers the dashboard side.

Questions about chatbots on v0

Yes. v0’s own docs list a chatbot for customer support among the things people build with it. v0 writes AI features with the AI SDK and, by default, connects them to Vercel’s AI Gateway, so there’s no key to add. The replies are paid from AI Gateway credits. Its free tier gives a monthly credit on a subset of models and needs a payment method on file. For more, you buy credits, charged at the model provider’s list price. Building and changing the chatbot spends v0 credits, and v0’s free plan includes $5 of them a month.

In a way. v0 is Vercel’s AI app builder, and you build by chatting with it. It writes a Next.js app and publishes it to Vercel. It doesn’t talk to your visitors, though. For that, you build a chatbot with v0 or add one such as Deacon.

Vercel’s Chatbot template is an open-source Next.js chat app with sign-in, saved chat history and file storage, running on the AI SDK and AI Gateway. It’s a starting point for a chat product of your own. Answering visitors from your docs, saying when they don’t cover something and handing a conversation to you would all be yours to build. Deacon does those from one script.

In your root layout, app/layout.tsx, or src/app/layout.tsx if your project keeps its code in a src folder. Next.js, which v0 builds with, says to load a script for every route with its Script component there. It loads once and stays loaded as visitors move between pages. Keep the src and data-key from your tag.

Deacon shows the widget only on the addresses you list, and v0’s preview runs in a sandbox at an address of its own. Each preview deployment gets its own address too. List your production address, publish, and check it there.

You can run both. On Vercel’s free Hobby plan, Web Analytics collects up to 50,000 events a month, keeps a month of history and has no custom events or UTM tags. Deacon’s analytics comes from the same script as the chat, on every plan, and adds goals, funnels, utm_source and JavaScript errors, over 7, 30 or 90 days or all time.

Yes. A Next.js app moves between pages without a full reload, and Deacon’s script counts each move to a new address as a page view. The chat follows the visitor from page to page, so a conversation started on your pricing page is still there on the next one.

Yes, if your app passes it on. Ask v0 to send details such as the visitor’s plan or role with Deacon.setContext(), and Deacon takes them into account when it answers. You see them beside the conversation in your dashboard. The visitor’s browser can read every detail you pass, so leave out passwords, tokens and internal ids.

Yes. When the script loads, it sets a cookie called deacon_visitor_id and keeps the same id in local storage, so Deacon can tell a returning visitor from a new one. The cookie asks for 90 days, which Safari cuts to about 7. Page views are counted without it, from a hash that changes daily.

Nothing to start, and it spends none of your v0 or AI Gateway credits. The free plan has 50 answers a month on one seat, with no card and no end date, and every feature is on it. Paid plans add answers, knowledge, pages from your website and seats, and no plan has a badge to pay to remove. The figures are on the pricing page.

Try Deacon for free

Add one script to your root layout and publish. Deacon starts answering your visitors in seconds and shows you what they asked, without spending a single Gateway credit.

See everything Deacon does, or read the plans. If you’re still choosing a builder, the best vibe coding tools ranks v0 among nine, and Lovable vs v0 compares it with Lovable.

v0 and Vercel are trademarks of Vercel Inc.

READ NEXT