https://discord.gg/botpress logo
#🤝help
How to embed a Pre Configured Chatbot in Wordpress?
# 🤝help
p

plain-car-17885

07/17/2023, 4:31 PM
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

adamant-gold-84199

07/17/2023, 5:05 PM
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

acceptable-kangaroo-64719

07/17/2023, 5:20 PM
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

adorable-lizard-17207

07/17/2023, 5:25 PM
where would one place it in the html the body?
a

adamant-gold-84199

07/17/2023, 7:36 PM
In the head i guess but you can do it as you want
a

acceptable-kangaroo-64719

07/18/2023, 11:47 AM
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

plain-car-17885

07/20/2023, 3:55 PM
How to find the body in Wordpress? Is there any possibility embedding the Bot without the Snippets Plugin?
a

acceptable-kangaroo-64719

07/20/2023, 4:19 PM
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

rich-oxygen-43707

07/20/2023, 4:21 PM
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.