WordPress Integration

Learn how to integrate EasyFindAi into your WordPress website

1

Get Your API Key

Select a chatbot in the dashboard to view its API key

2

Add to Your WordPress Site

Add the EasyFindAi chatbot to your WordPress site by adding this code to your theme.

Option 1: Add to functions.php

Add the following code to your theme's functions.php file:

<?php
// Add EasyFindAi Chatbot
function easyfindai_chatbot_script() {
?>
<script
src="https://easyfindai.com/api/chatbot-embed?apiKey=YOUR_API_KEY"
></script>
<?php
}
add_action('wp_footer', 'easyfindai_chatbot_script');
?>

Option 2: Add to footer.php

Alternatively, you can add the script directly to your theme's footer.php file, just before the closing </body> tag:

<script
src="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.