Website installation
Add an AI chatbot to WordPress
Add the Chatsy website widget to your site and train the agent from public content. This guide does not include a WordPress data connection or live order and customer data.
Use the site you already run
Place the widget through a child theme's footer or a site-wide header and footer code plugin without replacing the site's existing pages.
Keep content and records separate
Public website pages can be added as knowledge sources, but the widget does not grant access to private platform records.
Scope
What this guide covers
This is a website installation path, not a native data connection.
Guide scope
- Paste the Chatsy widget code into a child theme's footer or a site-wide header and footer code plugin.
- WordPress.com sites need a paid plan (Personal, Premium, Business, or Commerce) to install plugins.
- Add public website pages as knowledge sources.
- No direct access to WordPress accounts, orders, forms, or customer records.
Setup guide
Install the widget in WordPress
Follow the installation steps, then test the published widget.
Test before publishing
Check the widget on desktop and mobile, then verify the agent's sources and human handoff.
Open Readiness Quiz- 01
Prepare the agent and copy the code
Add current public pages as sources and set up human handoff. Turn on Allow public chats, then copy the website script from the agent overview under Deploy, or from Settings → Sharing → Link and embed.
- 02
Add the script in WordPress
WordPress themes print footer scripts through the wp_footer hook, just before </body>. Add the script with a site-wide header and footer code plugin, or in a child theme, because edits to a parent theme's files are lost when the theme updates. A Custom HTML block inside one page adds the widget to that page only.
- 03
Publish and check the launcher
Save the change, clear any page cache, and open the site in a private window. The chat launcher should appear in the bottom-right corner on desktop and mobile.
Limits and fit
Where this setup can fail, and when another path fits better.
Provider documentation
Common failure modes
- Allow public chats is off, so the script returns not found and no launcher appears.
- A site Content Security Policy blocks the script or the chat iframe from the Chatsy app domain.
- A caching or script-optimization plugin serves an old page or delays the script.
Not a fit for
- Sites that do not allow custom code.
- Teams looking for direct access to platform records through this setup.
FAQ
Common questions
Ready to add Chatsy to WordPress?
Build the agent, add approved sources, then follow the installation steps above.