WordPress install
Install the Chatevo widget on WordPress by adding the embed script to your theme or a header/footer plugin.
Prerequisites
Section titled “Prerequisites”- Widget deployment created
- Allowed domains includes your WordPress URL (e.g.
https://www.yoursite.com)
Option A — Theme footer (simple)
Section titled “Option A — Theme footer (simple)”- Appearance → Theme File Editor (or child theme
footer.php). - Paste before
</body>:
<script src="https://widget.chatevo.ai/chat.js" data-deployment-id="YOUR_DEPLOYMENT_ID" async></script>- Save and view the front end.
Prefer a child theme so updates do not wipe the snippet.
Option B — Plugin (recommended)
Section titled “Option B — Plugin (recommended)”Use any “Insert Headers and Footers” or “Custom Code” plugin:
- Install plugin → Footer section.
- Paste the embed script.
- Save — loads on all pages.
Option C — Block / page-only
Section titled “Option C — Block / page-only”For a single landing page, add a Custom HTML block with the script only if that page should show chat.
JWT on WordPress
Section titled “JWT on WordPress”If using JWT verification, enqueue a small script that passes the token for logged-in users — typically from wp_localize_script with a server-generated JWT.
Verify
Section titled “Verify”- Open site in incognito on production domain.
- Confirm widget loads — if not, see Widget not loading.
- Test a message and tool-backed reply if applicable.