AI chatbot for Astro
Add one script tag to the layout your pages share and mark it is:inline. Every page that uses the layout gets an agent that answers from your own content.
- One tag in your layout
- is:inline, so it stays as written
- Free plan to start
Made for Astro sites
This is for content sites built with Astro: a business site, docs or a blog whose visitors ask things your pages already answer.
The chat is a plain script tag, not a component. It adds no island and no integration, and none of its code goes into your bundle.
Install on Astro, 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 your layout
- 1Create your agent: paste your website URL and let it read your pages.
- 2Open the layout component your pages share, in src/layouts.
- 3Paste the script below just before </body>. Keep is:inline: it tells Astro to leave the tag exactly as written.
- 4Run astro dev, or build and deploy, and ask a question you know the answer to.
<script
is:inline
src="https://replybash.com/embed.js"
data-agent-id="YOUR_AGENT_KEY"
defer>
</script>It loads on localhost while you run astro dev. If your live address isn't your agent's domain, add it in Embed › Allowed domains. Other ways to install, such as the chat inside one page, are in the quickstart.
What works on your site
Every feature below is built and in the product today.
Left as written
Astro leaves a script tag with attributes besides src as it is. is:inline says so outright, so the tag stays as written even after later edits.
One layout, every page
Every page that uses the layout gets the chat, Markdown pages included.
Hand a chat to a person
When a visitor needs someone, reply from the inbox yourself and give the chat back to the agent afterwards.
No island, no integration
It isn't a UI framework component, so there's no client: directive to choose and nothing to add to astro.config.
Prerendered or on demand
The tag is part of your layout's HTML, so it's there whether Astro builds the page ahead of time or on request.
Enquiries to your tools
Add a form to the chat and each enquiry goes to email, Slack, Telegram or a webhook.
Your website
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