Support Center

Find your answer in our knowledge base

Integrate Website Chatbot with WordPress Site

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 linkable with any website, including WordPress. publish bot

Step 2 - Copy your unique code

Go to the "publish bot" section in the sidebar navigation.    Then click on "connect to website". You will see 3 options for embedding your unique JavaScript code. Click the "Install the code yourself" to get your unique code. Step 3 - Login to your admin panel of the WordPress site   Now login to the 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 your 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