Adding your Ernie AI chatbot to a WordPress website is straightforward and requires no coding experience. Follow the steps below to get your chatbot live on your site in minutes.
Before you start
Have your Ernie AI embed code ready.
Check your WordPress type and plan:
WordPress.com users must be on the Business or Commerce plan to add custom code. Free, Personal, and Premium plans block JavaScript.
Self-hosted WordPress.org sites have no plan restrictions – you can add custom code freely.
We recommend adding the chatbot at least on your homepage, then optionally across all pages.
Option A: WordPress.com (hosted)
Log in to your WordPress.com dashboard.
Go to My Site → Plans and confirm you’re on the Business or Commerce plan.
Go to Appearance → Editor (or Site → Editor).
Open your Homepage.
Add a Custom HTML block.
Paste your Ernie AI embed code inside it.
Click Publish or Update.
Visit your site to confirm the chatbot appears.
On lower plans, the HTML block will accept text only – you’ll need to upgrade for JavaScript support.
Option B: Self-hosted WordPress (WordPress.org)
Plugin method (easiest):
Log into your admin area.
Go to Plugins → Add New, search “WPCode” or “Insert Headers & Footers.”
Install → Activate.
Open the plugin → find Footer code field.
Paste your embed code and save.
Visit your homepage to confirm the chatbot loads.
Manual method:
Go to Appearance → Theme File Editor.
Open
footer.php.Paste your code just above
</head>.Save and reload the site.
Troubleshooting & checks
Chatbot doesn’t appear → check plan level, clear cache, ensure code pasted correctly.
Homepage only → move snippet into site-wide footer/plugin.
Mobile/desktop → verify display both views.
Need help?
Email [email protected] with your site URL and WordPress plan.