In the app: Agent Settings → Widget → Install → Install code, and switch on Show widget on my website in the same place.
Any WordPress directory plugin that claims to be an official SmartAlex plugin is not ours, so use this page’s script tag, the supported route.
How do I get my snippet?
Create an agent with the Create a new agent card on Home. Then open Agent Settings → Widget → Install → Install code and press Copy. Yourdata-tenant-id is already filled in, and you can also press Send to developer or ask a connected AI app for it.
How do I add it to every page?
Use a headers and footers scripts plugin such as WPCode, Insert Headers and Footers or Header Footer Code Manager.1
Install a scripts plugin
In your WordPress dashboard go to Plugins → Add New, then install and activate one.
2
Paste into the footer
Open the plugin’s settings, find the Footer field and paste the tag.
3
Save and clear caches
Save. If you use a caching or CDN plugin, purge the cache so visitors get the new page.
How do I add it to one page only?
1
Add a Custom HTML block
Edit the page, click the plus, search for Custom HTML and insert it.
2
Paste the tag
Paste the script tag into the block.
3
Update and view the live page
Click Update, then open the live page, not the editor.
How do I check it is live?
Open your published site in a normal tab, not the editor, and hard refresh. If the widget is missing:- Check the tenant ID is your real one, with no stray quotes or spaces.
- Purge every cache, both the page cache plugin and the CDN.
- Check a security plugin has not stripped the tag, and allow
api.getsmartalex.comif needed. - Check Show widget on my website is on, and that your site is in Allowed websites if you set that list.
How do I make the agent do more?
Custom HTTP Tools let your agent call your own endpoints during a call. They need the Power Tools add-on (add-ons and prices), and you can also run the whole account from an AI app over MCP.Questions people ask
Is there a SmartAlex plugin for WordPress?
Is there a SmartAlex plugin for WordPress?
No. There is no official SmartAlex plugin in the WordPress directory, and you do not need one when you paste one script tag.
Does it work with Elementor or Divi?
Does it work with Elementor or Divi?
Yes. The same script tag works on classic themes, block themes and page builders, because it is one async script.
Why does the widget not show after I added it?
Why does the widget not show after I added it?
Purge your page cache and CDN first, because stale pages are the most common cause. Then check that no security plugin removed the tag and that the tenant ID is correct.
Can I show the widget on one page only?
Can I show the widget on one page only?
Yes. Put the script tag in a Custom HTML block on that page, or use a footer scripts plugin for the whole site.
Related
Installing the widget
The full install guide and fixes.
Widgets
The five styles, colours and limits.
Build overview
Every builder and AI app SmartAlex works with.
MCP overview
Run your account from an AI app.

