How to embed a Pre Configured Chatbot in Wordpress...
# 🤝help
p
Hi, I would like to embed a Chatbot I made with Botpress on my Wordpress Website, but don't know how. Maybe it is very obvious, but I cannot find any help in the internet. Thanks
a
Did you check the documentation about publishing? Web URL will be available after publishing if you chose to create a webchatbot. Otherwise you can choose between Twitter, Insta etc
a
Yep, you can just cop + paste the embed code into the HTML of your webpage and the bot should load

https://cdn.discordapp.com/attachments/1130537278540873789/1130549614748115054/image.png

a
where would one place it in the html the body?
a
In the head i guess but you can do it as you want
a
head or body works. Jsut be aware if your site uses the same header on every page, your bot will also be on every page.
p
How to find the body in Wordpress? Is there any possibility embedding the Bot without the Snippets Plugin?
a
Not sure, but there's documentation on the WP site that shows the steps https://wordpress.com/go/website-building/how-to-properly-add-javascript-to-wordpress-3-top-methods/
r
Some themes have a place in the admin where you can add scripts site-wide. Also on individual pages you can include an HTML block that has the botpress code just for that page.