Add XenorAI to your WordPress store
Get your AI sales agent live on your WordPress site in a few minutes. Works with any theme.
Before you start
- An active XenorAI account
- Access to your WordPress Admin Panel
- Administrator access to your WordPress website
- Your website URL and/or documents containing information about your business
Log in to XenorAI
Open xenorai.com and log in to your account. Once you're logged in, you'll land on your XenorAI dashboard.

Create your AI chatbot
From the Dashboard, click 'Create Agent'. Give your agent a name, upload an avatar, and pick your industry (E commerce, Services, SaaS, or Other).

Set up sales context
Tell your agent who it's selling to your ideal customer, your biggest pain point, and the action you want visitors to take (Book a Call, Buy Product, Get a Quote, or Join Program). Add a booking link if relevant.

The more specific you are here, the better your chatbot converts.
Set up agent behaviour
Pick a tone (Professional, Friendly, or Salesy), set fallback and exit intent messages, and customize the widget's color and position on your site.

Add your website domain
Enter your website URL as your knowledge base. XenorAI creates the domain instantly and ingests your site content in the background.

Add your Business information pdf
Or upload a PDF/DOCX with your product, FAQ, or policy info instead of a URL. Click 'Create Agent' when you're ready knowledge ingestion runs in the background.

Copy the installation script
Once your agent is created, find it in your Agents list and click 'Copy Script'. This copies the full <script> tag XenorAI generated for your store.
<script>
<!-- Your XenorAI installation script -->
</script>
Copy the complete script exactly as provided. Don't modify or remove any part of it.
Open your WordPress admin panel
Log in to your WordPress Admin Panel. From the sidebar, go to Appearance → Theme File Editor (this may be labelled differently depending on your theme or WordPress version).

Open footer.php
Inside the Theme File Editor, look for the file named 'footer.php' in the Theme Files list on the right, and click it to open.

Paste the script and update
Scroll to the very bottom of footer.php. Find the closing </body> tag and paste your copied XenorAI <script> tag immediately before it. Click 'Update File' to save.
<?php wp_footer(); ?>
<!-- XenorAI Chatbot -->
<script>
<!-- Your XenorAI installation script -->
</script>
</body>
</html>
Don't delete existing WordPress code or replace the </body> tag — simply paste the script above it. Reload your site and click the chat bubble to test.
