Managing Chatbot URLs
Configuring Your Chatbots
The Supervised AI Bots plugin provides a centralized administration interface to manage all your AI chatbot endpoints. By configuring these URLs, you can deploy different bots across various sections of your WordPress site using a simple ID-based system.
Accessing the Settings Interface
Once the plugin is activated, you can manage your bots directly from the WordPress dashboard:
- Log in to your WordPress Admin area.
- Locate and click on Supervised AI Bots in the left-hand sidebar menu.
- You will see a configuration page containing a textarea labeled for Chatbot URLs.
Adding and Managing URLs
The plugin uses a line-based configuration method. This allows you to manage multiple bot instances without navigating complex menus.
- Format: Enter one full URL per line.
- Validation: Ensure each URL is a valid endpoint provided by your Supervised AI dashboard.
- Ordering: The order in which you list the URLs determines their assigned ID.
Example Configuration:
https://app.supervised.co/b/bot-alpha-123
https://app.supervised.co/b/bot-beta-456
https://app.supervised.co/b/customer-support-789
Click Save Settings to apply your changes.
Mapping IDs to Shortcodes
The plugin identifies which bot to display based on its position (row number) in the settings textarea. This "ID" starts at 1 for the first line.
| Line Number | Description | ID for Shortcode |
| :--- | :--- | :--- |
| Line 1 | First Chatbot URL | id="1" |
| Line 2 | Second Chatbot URL | id="2" |
| Line 3 | Third Chatbot URL | id="3" |
Usage Example
If you have configured three URLs as shown in the example above and wish to display the "Customer Support" bot (the third line) on a specific page, use the following shortcode in your page editor:
[supervised_ai_bot id="3"]
Best Practices for URL Management
- Avoid Empty Lines: Do not leave empty lines between URLs, as this may affect the ID indexing.
- HTTPS Only: Ensure your Supervised AI URLs use
https://to prevent mixed-content security warnings on your site. - Iframe Compatibility: The plugin renders these URLs within a responsive iframe popup. Ensure your Supervised AI bot settings permit embedding (this is standard for Supervised AI endpoints).