How-To Guides

How to Add an AI Chatbot to Your WordPress Site (No Code)

May 14, 2026
2 min read
336 views
How to Add an AI Chatbot to Your WordPress Site (No Code) Banner illustration

Adding an AI Chatbot to WordPress

WordPress powers over 40% of the world's websites. Adding an AI assistant to your WordPress blog, portfolio, or WooCommerce store is a great way to handle customer inquiries instantly. Here is the step-by-step setup guide.

Step 1: Create and Train Your Chatbot

  1. Sign up for a free account at Ewbly.
  1. Go to the Create Chatbot page in the dashboard.
  1. Upload your training documents (e.g., pricing guides, product catalogs, refund policy PDFs) or paste your website URL to let the platform crawl your pages.
  1. Click Create and wait 30 seconds for the AI vector embeddings to build.

Step 2: Retrieve Your Custom Embed Snippet

  1. Go to the Widgets or Share tab inside your chatbot dashboard.
  1. Copy the lightweight JavaScript code snippet. It looks like this:

``<script src="http://127.0.0.1:8000/widget.js" data-bot-id="YOUR_BOT_ID"></script>``

Step 3: Install WPCode Plugin on WordPress

  1. Log in to your WordPress admin panel (`/wp-admin`).
  1. Go to Plugins -> Add New.
  1. Search for WPCode (Insert Headers and Footers).
  1. Click Install Now and then Activate.

Step 4: Paste Your Embed Snippet

  1. In the left sidebar of WordPress, click on Code Snippets -> Header & Footer.
  1. Scroll to the Footer section.
  1. Paste the Ewbly script snippet.
  1. Click Save Changes at the top.

Your AI chatbot is now live on your website and ready to support your visitors!

Tagged Articles

A

Ankur Shahi

Platform Contributor

Founder of Ewbly. Experienced product developer focusing on optimizing customer experience through no-code AI automation and local Indian UPI billing systems.

Newsletter

Stay Ahead of the Curve

Get monthly actionable growth tactics, vector search training tutorials, and conversion strategies delivered straight to your inbox.

Strictly value. Zero spam. Unsubscribe at any time.