Content management systems
Add TailGPT to WordPress
About five minutes, with a free plugin and no theme files to edit.
Before you start
Step 1: Copy your code
Your code is on your chatbot's page in the TailGPT dashboard: open Chatbots, choose your chatbot, and find the Code box. Click Copy code. Until you have a plan the code is blurred, with Subscribe beside it.

It looks like this, with your own key where this one says YOUR_WIDGET_KEY:
<script src="https://app-tailgpt.tailwebs.com/widget.js" data-key="YOUR_WIDGET_KEY"></script>Copy yours from the dashboard - this example will not work on your site.
Step 2: Install the WPCode plugin
In your WordPress dashboard, go to Plugins → Add New Plugin. Search for WPCode, then click Install Now and Activate on “WPCode – Insert Headers and Footers”.
Step 3: Paste your code into the footer
Go to Code Snippets → Header & Footer. Paste your code into the Footer box - not Header, not Body.
Step 4: Save
Click Save Changes. The code is now on every page of your site.
Without a plugin
If you cannot install plugins, a developer can paste the code just above </body> in your child theme’s footer.php. Never the main theme’s file: the next theme update replaces it, and the chatbot disappears with it. Block themes have no footer.php - use the plugin.
Check it works
- Open your website in a private (incognito) window. A logged-in admin view and a cached page can both hide a change.
- Wait a few seconds for the chat bubble in the corner of the page.
- Ask it a question your website answers.
- In the TailGPT dashboard, open Chatbots. Once the bubble has loaded on a page of your website, your chatbot shows Live.

No bubble? Troubleshooting covers the usual reasons.
Using a caching or speed plugin (WP Rocket, LiteSpeed Cache, Autoptimize)? Clear its cache first. If the bubble still does not appear, see speed plugins in Troubleshooting.
Stuck?
Start with Troubleshooting. Still stuck? Write to [email protected] with your website's address and the platform it is built on.
Where these steps come from