Botpress
Botpress is a platform for building AI-powered chatbots that can assist customers, answer questions, and automate support on your website.
Key features include:
- AI chatbot builder
- Website content training
- Custom conversation flows
- Embeddable web chat widget
Botpress integrates with ShopWired by adding a tracking to the ShopWired theme so you can display a chatbot on your website.
Account creation
Account creation
Create an account on the Botpress website at Botpress.
After your account is created, you can configure and train your chatbot.
Theme installation
Theme installation
Botpress provides a script similar to the example shown below:
<script src="https://cdn.botpress.cloud/webchat/v3.6/inject.js"></script>
<script src="https://files.bpcontent.cloud/YOUR_BOT_ID/webchat.js"></script>
The script shown above is provided as an example only. You must copy the exact script provided in your own Botpress account, as the script and any ID values will be unique to your website.
- Navigate to Website > Themes
- Select the
code editoroption for your active theme - Open the
master.twigfile - Paste the Botpress script just before the closing
</body>tag - Select Save changes
After the script has been added, Botpress will begin loading the chatbot on your website.
Once the script is installed, the chatbot will display across your website based on your Botpress configuration.
Adding Botpress to specific pages
Adding Botpress to specific pages
If you only want the chatbot to appear on specific pages, you can add the embed code using a Custom HTML section instead of installing it in the theme.
- Navigate to Website > Themes
- Select
customise your themefor the theme you want to edit - Select
add a new section - Select the
custom HTMLsection type - Paste the Botpress embed code into the Custom HTML setting
- Position the section where required on the page
Recommendations
Recommendations
- Train the chatbot using your website content before installation
- Use theme installation for site-wide chatbot availability
- Use Custom HTML for controlled placement on specific pages
- Test chatbot responses before making it live
- Keep a record of script placement for future updates