Coming soonYour agent on WhatsApp, Messenger and Instagram
ReplyBash

AI chatbot for Nuxt

Add one script entry to app.head in nuxt.config.ts. Nuxt puts the tag on every page, and your app gets an agent that answers from your own content.

  • app.head in nuxt.config.ts
  • No module to install
  • Free plan to start
Who it's for

Made for Nuxt apps and sites

This is for teams with a marketing site, docs or an app on Nuxt who want visitors' questions answered from their own pages and files.

It's a few lines of config. You add no module, no plugin file and no component, and the chat is there on every route.

Install

Install on Nuxt, step by step

Create your agent first: paste your website's address and it reads your pages. Then add it to your site.

Add it to nuxt.config.ts

  1. 1Create your agent: paste your website URL and let it read your pages.
  2. 2Open nuxt.config.ts and add the script entry below to app.head. If you already have an app.head, add only the script entry to it.
  3. 3Run nuxt dev, or build and deploy, and ask a question you know the answer to.
nuxt.config.ts
// nuxt.config.ts: add the script entry to app.head (keep what you already have there).
export default defineNuxtConfig({
  app: {
    head: {
      script: [
        {
          src: "https://replybash.com/embed.js",
          "data-agent-id": "YOUR_AGENT_KEY",
          defer: true,
        },
      ],
    },
  },
})

Prefer to keep it in a component? useHead in app.vue takes the same script entry. Other ways to install, such as the chat inside one page, are in the quickstart.

On Nuxt

What works on your site

Every feature below is built and in the product today.

  • Every page from one entry

    app.head sets the head for every page, so there's no layout or page file to touch.

  • A real script tag

    Nuxt turns the entry into a script tag with your agent key on it. With server rendering, it's in the HTML Nuxt sends.

  • Keeps the chat while routes change

    Nuxt changes route without loading a new page, so the widget and an open conversation stay where they are.

  • Open it from your own button

    Call window.replybash("open") in a click handler. "close", "toggle", "hide" and "show" work the same way.

  • Hide it on some routes

    Page rules in the dashboard decide where it shows. They're checked again each time the route changes.

  • Your team can take over

    Reply to a live chat from the inbox when a visitor needs a person, then hand it back to the agent.

FAQ

Nuxt questions

Something else? We answer every email.

Email us

No, and you don't need one. One script entry in nuxt.config.ts loads the chat.

nuxt.config.ts, because the entry never changes. If you'd rather keep it in a component, useHead in app.vue takes the same object.

No. Vue leaves script tags out of component templates. Use app.head or useHead instead.

Yes. Allow localhost is on by default, so it loads while you run nuxt dev. Chats there use your message credits.

Yes. Page rules in the dashboard show it on some paths only, and they're checked again each time the route changes.

The chat works on every plan, the Free plan included, which has 100 messages a month. Paid plans start at $39 a month with a 7-day free trial.

Put your website to work tonight

Paste your URL and chat with your agent in minutes.

Free for 100 messages a month · No credit card required