Add an AI Agent to WordPress
Add an AI agent to any WordPress site in minutes — works through WPCode or the wp_footer hook.
How to install Simple Agent on WordPress
You will paste a single <script> tag in your WordPress site's WPCode Footer or wp_footer hook. No plugin, no app installation. WordPress official docs on custom code->
- 1
Get your agent token
Log into Simple Agent → your agent → Widget tab → copy the token shown under 'Embed code'.
- 2
Recommended path — use WPCode
In WordPress Admin, go to Plugins → Add New Plugin. Search for WPCode, install it, and activate it.
- 3
Paste in the Footer box
Go to Code Snippets → Header & Footer. Paste the full widget snippet in the Footer box: <script src="https://simple-agent.me/widget/loader.js" data-agent-token="YOUR_TOKEN_HERE" async ></script>
- 4
Replace YOUR_TOKEN_HERE
Replace YOUR_TOKEN_HERE with your actual agent token. Click Save Changes.
- 5
Alternative — inject via wp_footer
If you cannot use a plugin and you know how to edit PHP safely, add this to functions.php in a child theme or controlled theme file: add_action('wp_footer', function() { echo '<script src="https://simple-agent.me/widget/loader.js" data-agent-token="YOUR_TOKEN_HERE" async></script>'; });
- 6
Verify on the front end
Open the public site in a private browser tab, outside wp-admin. Clear cache if needed, confirm the chat bubble appears, and send a test message.
Add Simple Agent to your WordPress site
Starter plan available. No variable credits. Capped overage.
Create my agentCota publicada · Excedente previsível · Cancele quando quiser
Frequently asked questions
- Does it work with page builders like Elementor or Divi?
- Yes. A footer snippet or wp_footer injection loads outside the page-builder content, so it works with Elementor, Divi, and similar builders.
- Will it conflict with other chat plugins like Tidio or LiveChat?
- Both widgets can coexist, but showing two chat buttons on the same page is confusing. We recommend removing the other plugin if you switch to Simple Agent.
- Does it work with WooCommerce?
- Yes. WooCommerce runs on WordPress. Install the widget at the WordPress level, then add your product, policy, and sitemap URLs as Simple Agent sources.
Simple Agent on other platforms
Setup guiado em 90 segundos
Cota inclusa + US$5/1k excedente. Embed em qualquer site com uma linha.
Create my agentCota publicada · Excedente previsível · Cancele quando quiser