Managing Chatbots
Accessing the Settings Page
To manage your chatbots, navigate to your WordPress Admin Dashboard. In the sidebar menu, locate and click on Supervised AI Bots. This page serves as the central hub for configuring the URLs provided by Supervised AI.
Adding and Updating Chatbot URLs
The configuration interface features a dedicated textarea for inputting your chatbot sources. To add or update bots:
- Locate the Chatbot URLs input field.
- Enter the full URL for each chatbot you wish to integrate.
- Important: Enter only one URL per line.
- Click the Save Settings button to apply your changes.
URL Formatting Example
Your input field should look like this:
https://supervised.co/bot/my-first-bot
https://supervised.co/bot/sales-assistant
https://supervised.co/bot/customer-support
Identifying Chatbot IDs
The plugin identifies chatbots based on their position in the list you provided. This ID is required when using shortcodes to display the bot on your site.
- Line 1 corresponds to
id="1" - Line 2 corresponds to
id="2" - Line n corresponds to
id="n"
Whenever you add or remove a URL from the list, the IDs for the bots below that line will shift. Ensure your shortcodes are updated if you change the order of the URLs.
Implementation via Shortcode
Once your URLs are saved, you can embed any specific chatbot into a page, post, or widget area using the [supervised_ai_bot] shortcode.
Usage Example
To display the chatbot listed on the second line of your settings:
[supervised_ai_bot id="2"]
User Interface Behavior
When a chatbot is implemented via shortcode, the following behavior occurs on the front-end:
- Trigger Button: A blue circular floating button appears in the bottom-right corner of the page.
- Chat Window: Clicking the button toggles a popup window (400px wide by 670px high) containing the chatbot interface.
- Overlay: The chatbot is loaded via a secure iframe, ensuring it remains isolated from your site's styles while maintaining full interactivity.