Free AI Chatbot for Your Website
Add an AI chat widget to any website in minutes. Ethora’s AI agent learns from your own pages and documents, answers visitors around the clock, and hands over to your team when a person is needed. Paste one line of code or install the WordPress plugin. Start on the free plan, no credit card.

What an AI Chatbot for Your Website Does
An AI chatbot for your website is a chat window, usually a button in the corner of every page, where an AI agent answers visitors’ questions in plain language. With Ethora it answers from your own website pages and documents rather than guessing, so it can quote your real prices, hours and policies. You add it with one script tag or the WordPress plugin, and you can see every conversation in your admin panel.
Try it now: the assistant in the corner of this page is built the same way.
Add an AI Chatbot to Your Website in 3 Steps
No code beyond one copy and paste. Most sites are live in under half an hour.
- Sign up free and create your agent. Pick a template such as a support agent, then give it your knowledge: crawl your website and upload documents such as PDFs.
- Make it yours. Set the name, avatar, greeting, colours and instructions, and test it in the admin with a chat that shows which sources each answer used.
- Add it to your site. Paste one script tag before the closing
</body>tag, or install the WordPress plugin. Save, refresh, and your AI chatbot is live.
Where to paste it on popular platforms:
- WordPress: install the free Ethora Chat Assistant plugin from wordpress.org, or paste the script into your theme footer.
- Shopify: add the script to
theme.liquidbefore the</body>tag. - Wix, Squarespace, Webflow and other builders: paste it into the site-wide custom code or footer code setting.
- Custom websites and React apps: paste it into your base template, or use the npm package.
Prefer to ask ChatGPT or Claude? Connect ChatGPT, Claude, Cursor or Claude Code to Ethora with one URL, sign in, and type “Put a chat widget on my website that answers questions about our product.” Your assistant creates the agent, adds your website to its knowledge and hands you the script tag. How to connect your assistant.
What’s free: the free plan covers up to 1,000 monthly active users with all chat and AI features. Paid plans start at $149 a month when you need more users, support, an AI allowance and a custom domain. See pricing.
Make It Match Your Brand
Open your app’s AI Widget settings and choose Customize appearance. Content sets the header title, the opening message the bot sends when a visitor opens the chat, and a welcome screen shown before the conversation starts. Style starts from a theme (Classic, Your brand, Ocean, Forest, Sunset, Midnight or Mono), then fine-tunes the colours, font and text size. Layout puts the widget bottom left or bottom right, picks a chat window size (from Compact to Large and Tall, or a custom size), and switches attachments, voice messages and full screen on or off. Launcher styles the chat button: a gradient or solid colour, its size, a pulsing glow, and your own icon image.
A live preview shows the button, the welcome screen and the chat as you type, and once you save, every site already using your embed code picks up the change within a minute. There is no need to paste the code again.
The widget fits your visitors’ language too. Leave the widget language on Automatic to follow your website’s language, or fix it to English, French, Spanish, Portuguese, Haitian Creole or Chinese for buttons and labels. Visitors can still switch from the globe icon in the chat header, and the AI agent answers in the language the visitor writes in when the model supports it.
Train Your AI Agent
Every widget is answered by an AI agent, and each agent has its own settings. Persona sets its name, avatar and bio, when it replies (always, only when mentioned, through a smart LLM gate, or with a set probability), a cooldown between replies, and the LLM model: any model ID your OpenAI-compatible provider accepts, or the platform default. Instructions is the system prompt that sets tone and limits, with templates such as Customer support and Product website assistant to start from.
Web Index crawls your website and stores the content as embeddings for retrieval (RAG). Crawled sites are checked again on a schedule, so changed pages are re-indexed, new pages added and removed pages dropped, and a publish hook lets your site trigger a re-index as soon as you publish. Docs Index takes PDF, DOCX, Markdown and text files. Both show how much searchable knowledge the agent has and flag anything that is stored but not yet searchable, with a one-click rebuild.
Guide Visitors with Buttons and Flows
Not every conversation should be free text. Flows are scripted conversations the agent runs alongside its AI answers: an opening menu, a lead capture form, an intake questionnaire, an appointment request or a feedback survey. Visitors tap buttons instead of typing, and the agent collects the details for your team.
You write flows in YAML or start from a template. The reserved start flow opens every conversation; other flows start from a menu button, a trigger phrase such as “talk to a human”, or when the agent recognises what the visitor wants. Questions can check answers, for example asking again when an email address does not look right.
See Every Conversation
Every chat your widget handles appears under Conversations history in the AI Widget settings, with when it started, when it was last active and the visitor’s country. Hover a visitor to see their browser, operating system and device, open any conversation to read it in full, and export them all when you need them elsewhere.
Visitors chat without signing in, so this is where you learn what people actually ask, spot gaps in the agent’s knowledge, and decide where a person from your team should join the conversation.
AI Agent Capabilities
This simple copy-pasting integration is more powerful than it may seem. Our embeddable conversational AI script goes beyond basic Q&A:
Natural language processing
AI understands questions, even if phrased differently.
Context-aware responses
Your chatbot will remember what’s been said earlier in the chat.
Gets better as you teach it
Re-crawl your site, add documents and refine the instructions; the test chat shows which sources each answer used.
Knowledge base integration
You can make AI speak like your brand by teaching it from your documentation.
What Is an AI Chat Widget?
An AI chat widget is a small, self-contained chat interface that you embed on your website to let visitors interact with an AI-powered assistant. It typically appears as a floating button in the corner of the page, visitors click it, a chat window opens, and they can ask questions in natural language.
Unlike traditional live chat widgets that require human agents to be online, an AI chat widget responds automatically using large language models (LLMs) like GPT-4, Claude, or Llama. When combined with RAG (Retrieval-Augmented Generation), the widget can answer questions based on your actual business data, product documentation, FAQs, knowledge base articles, policies, rather than generic AI responses.
AI chat widgets are used across industries to handle customer support, qualify leads, guide users through products, and reduce the volume of repetitive inquiries that human agents need to handle. They work 24/7, respond instantly, and can handle hundreds of conversations simultaneously.
Ethora’s AI chat widget goes beyond basic Q&A. Built on the XMPP messaging protocol, it supports real-time conversations with context awareness, conversation history, file sharing, and seamless handoff to human agents when needed. The widget uses Shadow DOM for style isolation, so it won’t conflict with your existing site styles.
Embed Code Example
Here is the actual embed code. Copy this single <script> tag and paste it into your website’s HTML, just before the closing </body> tag. Replace YOUR_APP_ID with the app ID shown in the Ethora admin panel. Optional attributes set the launcher side (data-position), the bot’s name and avatar (data-bot-name, data-bot-avatar), the main colour (data-primary-color) and the language (data-locale):
<script
src="https://widget.chat.ethora.com/assistant.js"
data-app-id="YOUR_APP_ID"
></script>
That’s it: one script tag, no npm install, no build step, no framework dependency. The widget loads asynchronously, so it won’t block your page rendering. It uses Shadow DOM to isolate its styles from your site’s CSS.
You don’t need to type this yourself. In the admin, open your app’s AI Widget settings: under Website widget, the Code tab gives you a ready-to-paste snippet with your app ID filled in (or the WordPress option), next to a live preview of the widget, as in the screenshot at the top of this page.
For React / npm projects
If you’re building a React application, you can also install the widget as an npm package for tighter integration:
npm install @ethora/ai-chat-widget
The npm package (@ethora/ai-chat-widget) provides a React component with the same capabilities plus programmatic control over the widget’s state, events, and styling. It uses Redux for state management and styled-components for theming.
How the AI Widget Works
When a visitor loads your page, the widget script initialises in the background. Here’s what happens under the hood:
1. Widget loads asynchronously.
The script downloads from Ethora’s CDN and renders a floating chat button on your page. It uses Shadow DOM to encapsulate its styles, so it cannot interfere with your site’s CSS and vice versa.
2. Anonymous session bootstrapping.
When the visitor opens the chat, the widget automatically creates an anonymous session, no login or registration required. The visitor can start asking questions immediately.
3. XMPP real-time transport.
Messages are sent via the XMPP protocol, the same battle-tested messaging standard used by WhatsApp and Google Talk. This ensures low-latency, reliable message delivery even on slow connections.
4. AI processes the query.
Your bot receives the message and processes it using the configured LLM (GPT-4, Claude, Llama, Mistral, or any supported model). If RAG is enabled, the bot first retrieves relevant content from your indexed documents and includes it as context.
5. Response delivered in real-time.
The AI’s response streams back to the visitor’s chat window. The widget maintains conversation context, so follow-up questions are understood in the context of the ongoing conversation.
Configuration and Customisation
The AI chat widget can be configured entirely through the Ethora admin panel, no code changes needed after the initial embed: saved appearance changes reach every site already using your embed code within a minute. You can also fine-tune settings via data attributes on the script tag or React component props.
| Setting | What It Controls | Configured Via |
|---|---|---|
| Persona | The agent’s display name, avatar and bio (the bio also tells the agent who it is) | Admin panel (agent Persona) |
| Instructions | The system prompt that sets tone, scope and limits, with templates such as Customer support and Product website assistant | Admin panel (agent Instructions) |
| Response mode and cooldown | When the agent replies (always, only when mentioned, through a smart LLM gate, or with a set probability) and the seconds between replies in the same room | Admin panel (agent Persona) |
| LLM model | Any model ID your OpenAI-compatible provider accepts, or the platform default | Admin panel (agent Persona) |
| Knowledge base (RAG) | Crawled website pages, re-checked on a schedule, plus uploaded PDF, DOCX, Markdown and text files | Admin panel (Web Index, Docs Index) |
| Flows | Scripted conversations: opening menu, lead capture, intake questionnaire, appointment request, feedback survey | Admin panel (agent Flows) |
| Theme and colours | Seven theme presets, then primary, icon, message and field colours, font and text size | Admin panel (Customize appearance) / data attributes |
| Header, opening message and welcome screen | The popup title (the agent’s name by default), the first message the bot sends when a visitor opens the chat, and the title and subtitle shown in an empty chat | Admin panel (Customize appearance, Content) |
| Position and behaviour | Bottom left or bottom right; attachments and voice messages on or off; allow full screen | Admin panel (Customize appearance, Layout) / data-position |
| Launcher button | Gradient or solid colours, button size, a pulsing glow, and your own icon image (the header keeps the agent’s avatar) | Admin panel (Customize appearance, Launcher) |
| Language | Automatic (follows your website) or a fixed language for buttons and labels; visitors can switch from the globe in the header | Admin panel / data-locale |
| Chat window size | Presets (Compact 320 × 440, Standard 380 × 520, Large 420 × 620, Tall 380 × 720) or a custom width and height | Admin panel (Customize appearance, Layout) / data attributes / React props |
| Conversations history | Every visitor conversation with start time, last activity and country; open any chat or export them all | Admin panel (AI Widget) |
AI Chat Widget Comparison
How does Ethora’s AI chat widget compare to other popular options?
Ethora’s key differentiators are self-hosting (your data stays on your servers), LLM flexibility (use any model, not just one vendor’s), and open source availability. For businesses in regulated industries (healthcare, finance, government) where data cannot leave your infrastructure, Ethora is the only option that provides full data sovereignty with an AI chat widget.
AI Widget Use Cases
Customer support automation
Handle the 60-80% of support queries that are repetitive (shipping status, return policies, account questions) instantly and 24/7. Escalate complex issues to human agents automatically.
Lead qualification
Engage website visitors in conversation, ask qualifying questions, and route high-intent leads to your sales team. The AI can collect contact information and schedule demos without human involvement.
Knowledge base assistant
Connect the widget to your documentation, help centre, or internal wiki via RAG. Visitors get accurate answers grounded in your actual content instead of generic AI responses.
E-commerce product advisor
Help shoppers find the right product by answering questions about features, compatibility, sizing, and availability. Reduce cart abandonment by providing instant answers during the buying process.
Healthcare patient intake
Collect patient information, answer insurance questions, and help schedule appointments, all within a HIPAA-compliant, self-hosted environment.
Internal employee assistant
Deploy on your intranet or internal portal to help employees find HR policies, IT procedures, onboarding guides, and company information without raising tickets.
Perfect for Older Websites and Portals
Our embeddable AI agent is perfect for legacy portals and sites. It’s lightweight and fully compatible with older browsers and HTML structures. It will supercharge your communications with advanced features without overwhelming your systems.
Enterprise-Grade Reliability
While being lightweight and easy to integrate, Ethora’s AI Agent Script is fit for enterprise projects.
Scalability
Our solution scales when you need.
Security
Encrypted in transit and at rest, with admin roles, two-step verification and an audit trail.
Compliance
We meet GDPR, CCPA, and other data protection standards.
Save Months of Work with Ethora
Build any chat use case into your product: in hours.
- No credit card needed
- Start free, upgrade when you’re ready
Free
- Chat SDKs for web and mobile
- AI agents and website widget
- Community Support
- 30 Days of Free Support
AI Assistant
- Answers from your pages and documents
- Scheduled re-indexing
- 30+ languages
- Lead flows and CRM webhook
- Email Support
Small Business
- In-app chat, calls and SDKs
- Tech Support
- SLA 99.9%
- AI Allowance
- Custom Domain
Enterprise
- 24/7 Phone Support
- Self-hosted AI
- Custom Configuration
- Dedicated / On-prem hosting
What our clients say about our services.
Case studies: AI agents on real websites
Add a free AI chatbot to your website today
Train it on your own pages and documents, paste one line or install the WordPress plugin, and see every conversation. No credit card.
Explore Related Solutions
Expand your AI capabilities with Ethora's full platform:
Self-hosted LLM AI agent
deploy AI on your own infrastructure with GPT-4, Llama, Mistral and full data control
Read moreRAG website crawler
automatically index your website content for AI-powered responses
Read moreRAG chatbot
how a chatbot trained on your website and documents gives grounded answers
Read moreSet it up from ChatGPT or Claude
connect your assistant to the Ethora MCP server and ask it to build and embed the chatbot for you
Read moreAI chatbot for small business
set up in an afternoon, start free, see every conversation
Read moreHIPAA compliant chatbot
an AI chatbot for clinics and health teams, with a BAA and self-hosted options
Read moreSee pricing plans to get started.