Managing Bot URLs
Accessing the Configuration Page
To manage your chatbot endpoints, log in to your WordPress Admin Dashboard. In the left-hand sidebar, locate and click on Supervised AI Bots. This page serves as the central hub for connecting your WordPress site to your Supervised AI instances.
Adding and Managing Bot URLs
The plugin uses a straightforward list-based system to register your chatbots. Instead of complex forms, you manage your bots via a central text area.
To add new bots:
- Navigate to the Supervised AI Bots settings page.
- Locate the Bot URLs textarea.
- Enter the full URL of your Supervised AI chatbot endpoint.
- To add multiple bots, press
Enterand place each URL on its own line. - Click Save Changes.
Note: Ensure you include the full protocol (e.g.,
https://) for each URL to ensure the chatbot iframe loads correctly.
Understanding Bot IDs
The plugin automatically assigns an ID to each chatbot based on its line position in the settings textarea. These IDs are essential for displaying the correct bot on your site using shortcodes.
| Line Number | URL Example | Bot ID |
| :--- | :--- | :--- |
| Line 1 | https://supervised.co/bot/finance-assistant | 1 |
| Line 2 | https://supervised.co/bot/support-agent | 2 |
| Line 3 | https://supervised.co/bot/sales-lead | 3 |
If you delete a line or reorder the URLs, the IDs will shift accordingly. Always verify your line numbers after making changes to ensure your shortcodes point to the intended chatbot.
Usage in Content
Once your URLs are saved, you can embed the chatbots into any page, post, or widget area using the [supervised_ai_bot] shortcode.
Implementation Example
To display the bot configured on the first line of your settings:
[supervised_ai_bot id="1"]
To display the bot configured on the second line:
[supervised_ai_bot id="2"]
Display Behavior
When a user visits a page containing the shortcode:
- A floating action button (blue circle) will appear at the bottom-right of the screen.
- Clicking the button toggles a 400px wide popup container.
- The chatbot URL associated with the provided ID is loaded inside an iframe within that popup.