Learn how to integrate EasyFindAi into your WordPress website
Add the EasyFindAi chatbot to your WordPress site by adding this code to your theme.
Add the following code to your theme's functions.php
file:
<?php// Add EasyFindAi Chatbotfunction easyfindai_chatbot_script() {?><scriptsrc="https://easyfindai.com/api/chatbot-embed?apiKey=YOUR_API_KEY"></script><?php}add_action('wp_footer', 'easyfindai_chatbot_script');?>
Alternatively, you can add the script directly to your theme's footer.php
file, just before the closing </body>
tag:
<scriptsrc="https://easyfindai.com/api/chatbot-embed?apiKey=YOUR_API_KEY"></script>
Note: If you're using a child theme, make sure to add this code to the child theme's files to prevent it from being overwritten during theme updates.
That's it!
Your EasyFindAi chatbot is now active on your WordPress website and ready to help your visitors.