Founding MembersOur first 50 businesses get 20% off for 12 months, a free setup call and priority support.38of 50spots leftClaim your spot
    SwingLeads AI
    Pricing
    Start free
    Contact usStart free
    Website chatbotAnswers visitors from your own business detailsLead captureName, number and requirement from every chatAppointment requestsPreferred slots, ready for your team to confirmWhatsApp & Instagram SoonThe same bot on the apps your customers use
    See it in actionOpen Saturday?Yes, 9 to 6. Want a slot?Follow one enquiry from 11:42 pm to a booked slotWatch the flow
    Built for businesses that run on enquiriesClinics & hospitals→Real estate→Home services→Coaching & education→Recruitment agencies→Professional services→
    How it worksReady in 2 clicksFollow a leadOne enquiry, 11:42 pm to bookedBook a demoWe set it up on your site with you
    BlogGuides for winning more website leadsFree toolsCalculators, templates and generatorsSecurityHow we look after your data
    Home/Blog/How-to

    How to Add an AI Chatbot to a WordPress Website (No Plugin Needed)

    How-to5 min readBy the SwingLeads team
    How to Add an AI Chatbot to a WordPress Website (No Plugin Needed)

    Good news: adding a chatbot to WordPress is a copy-paste job. You don't need a developer, and you usually don't even need a plugin. Here's every route.

    Before you start

    You need your chatbot's embed snippet — a short piece of code from your chatbot dashboard. With SwingLeads AI it looks like this (your dashboard fills in your own bot ID and key):

    <script>window.SwingLeadsConfig = { slug: "YOUR_BOT_ID", embedKey: "YOUR_EMBED_KEY" };</script>
    <script src="https://swingleadsai.com/widget.js" async defer></script>

    Route 1 — block themes (WP 6.x, no plugin)

    1. Go to Appearance → Editor → Patterns → Footer.
    2. Add a Custom HTML block at the end of the footer template.
    3. Paste the snippet, save. The widget now loads on every page.

    Route 2 — classic themes

    1. Go to Appearance → Theme File Editor → footer.php (child theme recommended).
    2. Paste the snippet just before </body> and update the file.

    Route 3 — page builders & hosts

    • Elementor: Elementor → Custom Code → add snippet → location “body end”.
    • Astra / Kadence / GeneratePress: each has a “footer scripts” box under theme options or a hooks feature.
    • Managed hosts: most expose a “header & footer scripts” panel — paste into the footer field.

    Route 4 — a snippets plugin

    If editing themes makes you nervous, install a header/footer scripts plugin, paste the snippet in the footer box, save. Done.

    Check it worked

    • Open your site in a private window — the chat bubble should appear bottom-right.
    • Ask it a question you trained it on and one you didn't; the second should end with it offering to take your number.
    • On mobile, confirm the bubble doesn't cover your call button.
    💡 Style the widget before you install: the free chat widget builder previews the bubble in your brand colour and hands you the snippet.

    Not on WordPress? The same snippet works on Shopify, Wix, Webflow, Squarespace and plain HTML. And if you're still choosing a tool, start with what a chatbot costs in India or SwingLeads AI's pricing.

    Ready to try it?

    Let SwingLeads AI answer your website’s next visitor

    Now in beta. Founding price from ₹799/month for our first 50 businesses, every feature on every plan.

    Start free→See pricing

    Frequently asked questions

    Do I need a plugin to add a chatbot to WordPress?

    No — pasting the embed snippet in your theme's footer works on any WordPress site. A snippets plugin is just a convenience.

    Will a chatbot slow my WordPress site down?

    A well-built widget loads asynchronously after your content, so the effect on page speed scores is minimal.

    Does it work with WooCommerce?

    Yes — the widget sits on every page including product and cart pages, answering questions and capturing enquiries.

    Keep reading

    Guide · 8 min read

    The Website Enquiry Chatbot, Explained for Indian Small Businesses

    Pricing · 6 min read

    Website AI Chatbot Cost in India (2026): What SMBs Actually Pay

    Free tool

    Missed-lead calculator

    Pricing

    SwingLeads AI from ₹799/mo, founding price

    Someone is on your website right now. Who’s answering?

    Get SwingLeads AI live before your next enquiry comes in. Founding prices are open for our first 50 businesses only.

    Start freeTalk to us
    SwingLeads AI

    Answers questions, captures leads and takes appointment requests on your website, around the clock.

    support@leadbellai.com
    Website widget · LiveWhatsApp · Coming soonInstagram · Coming soon

    Product

    • Features
    • How it works
    • Channels
    • Pricing
    • Security

    Industries

    • Clinics
    • Real estate
    • Home services
    • Coaching
    • Recruitment

    Free tools

    • Missed-lead calculator
    • Chat widget builder
    • Customer reply generator
    • FAQ answer builder
    • Lead follow-up templates
    • WhatsApp link & QR
    • WhatsApp Business templates
    • Business description generator

    Company

    • Contact us
    • Blog
    • All free tools
    • Start free
    Built in India · © 2026 SwingLeads AI · Illustrations by upklyak / FreepikPrivacyTermsRefundsShippingCookies
    SwingLeads