Integrate Website Chatbot with WordPress Site

Written by usamanoman
Posted On Mar, 29, 2017
Our website chatbot works with all websites, it's standard JavaScript code which works in all major browsers. All you need to do is paste the JavaScript code provided by Botsify into your website, that's it!

So let's see how can one integrate Botsify's website chatbot into his/her WordPress site or Blog.

Step 1 - Create a website chatbot in Botsify


Create a chatbot in Botsify, follow our other tutorials, to learn how to quickly create a chatbot of your own. Remember, you have to create the website chatbot, for it to be link-able with any website, including WordPress.

Step 2 - Copy your unique code


Go to "Chatbot for Website" section in the sidebar navigation. You will see 3 options for embedding your unique JavaScript code. Click the "Install the Code yourself" to get your unique code.



You have the option to either copy the Iframe based or the non Iframe based web widget code.



Step 3 - Login to your admin panel of WordPress site


Now login to Admin Panel of your WordPress site, and go to "Appearance -> Editor" This will open up some code like in the screenshot below.

7

Step 4 - Select your theme and Footer.php


Select you current theme from the drop-down, and then click on the footer.php. Find the closing body tags (</body>) in the file, as in the screenshot below.

8

Step 5 - Paste the code


That's it, now paste the code you copied from the step # 2 into this area before </body>. Click save to see changes in your site. Remember, your website chatbot is integrated with your theme, therefore if you change the theme you will have to redo the same process with your new theme.

9