TutorialWebsite IntegrationGetting Started

How to Add an AI Chatbot to Your Website in 5 Minutes

A step-by-step guide to adding a smart AI chatbot to any website — WordPress, Shopify, React, or plain HTML. No coding experience needed. Start capturing leads today.

QuelpAI Team
Product & Engineering
5 min read
Cover image for How to Add an AI Chatbot to Your Website in 5 Minutes

Why Every Website Needs an AI Chatbot

Your website is your hardest-working employee — it's live 24/7, handles thousands of visitors, and never takes a day off. But without an AI chatbot, it's like having a store with no sales assistant.

Here's what happens when you add an AI chatbot:

  • Instant answers to visitor questions — no more waiting for email replies
  • Automatic lead capture — collect names, emails, and requirements naturally
  • 24/7 availability — convert leads even while you sleep
  • Reduced support load — handle 80% of common queries automatically

The best part? You can set this up in under 5 minutes. Here's how.

Step 1: Sign Up and Name Your Chatbot

Head to QuelpAI and create your free account. You'll be asked for:

  1. Your business name — this helps the AI understand your brand
  2. Your website URL — the AI will learn from your existing content

That's it. No credit card, no complex configuration.

Step 2: Let the AI Learn Your Content

Once you provide your website URL, the AI automatically:

  • Crawls your pages — it reads your products, services, pricing, FAQs, and about pages
  • Understands context — it learns the relationships between your content
  • Builds knowledge — it creates a knowledge base specific to your business

This process takes 30-60 seconds. You'll see a live progress indicator showing which pages are being analyzed.

The AI learns from YOUR content, so it gives accurate, brand-specific answers — not generic responses.

Step 3: Customize Your Chatbot's Personality

Make the chatbot feel like part of your brand:

Brand Appearance

  • Color: Match your brand's primary color
  • Position: Choose bottom-right or bottom-left placement
  • Welcome message: Set what visitors see first

Conversation Tone

Choose a personality that matches your brand:

  • Professional — ideal for B2B, consulting, and enterprise
  • Friendly & Warm — perfect for e-commerce and lifestyle brands
  • Playful — great for startups and creative agencies
  • Direct & Focused — best for SaaS and technical products

Step 4: Install the Widget

Adding the chatbot to your website takes one line of code. Here's how for each platform:

HTML / Any Website

<script
  src="https://widget.quelpai.com/chat.js"
  data-tenant-id="YOUR_ID"
  async>
</script>

Paste this before the </body> tag on your website.

WordPress

  1. Go to Appearance → Theme Editor
  2. Open footer.php
  3. Paste the script above before </body>
  4. Save

Alternatively, use a plugin like Insert Headers and Footers for easier management.

Shopify

  1. Go to Online Store → Themes → Edit Code
  2. Open theme.liquid
  3. Paste the script before </body>
  4. Save

React / Next.js

// In your layout or _app.tsx
import Script from 'next/script';

export default function Layout({ children }) {
  return (
    <>
      {children}
      <Script
        src="https://widget.quelpai.com/chat.js"
        data-tenant-id="YOUR_ID"
        strategy="lazyOnload"
      />
    </>
  );
}

Webflow

  1. Go to Project Settings → Custom Code
  2. Paste the script in the Footer Code section
  3. Publish

Step 5: Test and Go Live

Before going live, test your chatbot:

  1. Ask common questions — "What do you offer?", "How much does it cost?"
  2. Try edge cases — "Can I speak to a human?", "What's your refund policy?"
  3. Check mobile — ensure the widget looks great on phones and tablets

Use the Live Test feature in your QuelpAI dashboard to see the chatbot in action on your actual website.

Advanced Tips for Maximum Impact

Optimize Your Welcome Message

Bad: "Hi! How can I help you?"

Good: "Hey! 👋 Looking for [specific thing your visitors want]? I can help you find the right solution in seconds."

Use Smart Triggers

Set up engagement rules that automatically start conversations:

  • Time-based: "I noticed you've been browsing for a while. Can I help you find something?"
  • Page-based: Show different messages on pricing vs. product pages
  • Exit-intent: "Wait! Before you go — have you seen our special offer?"

Monitor and Improve

Check your analytics dashboard regularly:

  • Which questions visitors ask most frequently
  • Where conversations drop off — improve those answers
  • Lead conversion rates — see which pages generate the most leads

Common Questions

Will it slow down my website? No. The widget loads asynchronously after your page loads, so it doesn't affect page speed or Core Web Vitals.

Can it handle complex questions? Yes. The AI is trained on your specific content, so it can answer questions about your products, services, pricing, policies, and more.

What if a visitor needs a human? You can set up handoff rules that route complex queries to your team via email or your inbox.

Is it mobile-friendly? Absolutely. The widget is fully responsive and optimized for mobile devices.

Start Capturing Leads Today

The entire setup takes less than 5 minutes, and you'll start seeing results immediately. Every visitor who gets their question answered is a potential lead saved.

Don't let another visitor leave your website without engaging them.

Create your free QuelpAI account and add an AI chatbot to your website today. No coding required, no credit card needed.

Share this article

Related Articles

Ready to Try QuelpAI?

Set up your AI Sales Assistant in under 5 minutes. No coding required.

Get Started Free →