Here are the steps to add a chatbot to your WordPress website without a plugin:
1. Get the Chatbot Script
Obtain the HTML code by selecting ‘Get Embed Code’ on your chatbot, in the ‘My Chatbots’ section of your account. Copy the script based on how you will be displaying your chatbot; either in an iframe or floating at the bottom on your webpage.

2. Log into WordPress Admin
Access your WordPress dashboard by logging in with your credentials.
3. Edit the Theme
- Go to “Appearance” > “Theme File Editor”.
- In the Theme File Editor, you will see a list of theme files on the right-hand side.
4. Locate the Header File
Find and click on the header.php file. This file usually contains the opening HTML tags and is a common place to add scripts that need to be loaded on every page.
5. Insert the Chatbot Script
- Find the closing </head> tag in the header.php file.
- Just before this closing </head> tag, paste the JavaScript snippet you obtained in step 1.
6. Update the File
After pasting the script, click the “Update File” button to save your changes.
By following these steps, you can successfully add a chatbot to your WordPress website without needing a plugin. This method ensures that the chatbot is embedded directly into your site’s HTML, making it more flexible and easier to manage.