Integrate BotStar with Wordpress

Before starting this section, you need to complete the setting for publishing the bot on your website. If you haven’t done it, please see the instructions in Integrate BotStar with Website first.

Settings

There are many ways to add javascript into WordPress. In this documentation, we recommend using the plugin Simple Custom CSS and JS

After setting the plugin, please follow these below steps to integrate BotStar Chatbot with WordPress:

1. Go to Plugins > Search Simple Custom CSS and JS > Click Settings

2. Click Add HTML Code button.

3. Go back to your bot and copy the Generate HTML Code by going to Bot Builder > Publishing Configuration > EMBEDDED CODE

4. Paste that Code in the Plugin.

5. Click the Publish button on the right corner to save the process. Whitelisted Domains

Note: Alternatively, you can use Add JS Code button in the settings of Simple Custom CSS and JS. You will just use the code between Generate HTML Code tags in the Embedded Code

Go back to your bot, click on Save & Publish and review the result.

If you have any concerns, please feel free to leave a comment below or contact us through support@botstar.com. For more details on how we have helped our customers grow their business, you can view our use cases, blogs or join our BotStar community to learn and share new things 😊


Did you find it helpful?   Yes   No