Settings Dashboard
Settings Dashboard
The Supervised AI Bots settings dashboard is the central hub for managing your chatbot integrations. This interface allows you to define chatbot sources and prepare them for deployment across your WordPress site.
Accessing the Settings
To configure your chatbots, log in to your WordPress Admin area and navigate to: Dashboard > Supervised AI Bots
Configuring Chatbot URLs
The primary function of the dashboard is to register your Supervised AI chatbot instances.
- Bot URLs Configuration: Locate the main textarea on the settings page.
- Input Format: Enter the full URL of your Supervised AI chatbots.
- Enter one URL per line.
- Do not use commas or other separators.
- Save Changes: Click the "Save Settings" button to store your configuration.
URL Mapping and IDs
The plugin assigns an id to each chatbot based on its line number in the textarea. This ID is critical for using the shortcode later.
- Line 1:
id="1" - Line 2:
id="2" - Line 3:
id="3"(and so on)
Shortcode Integration
Once you have saved your URLs, you can display a specific chatbot on any page, post, or widget area using the provided shortcode.
Shortcode Syntax:
[supervised_ai_bot id="X"]
id: ReplaceXwith the row number of the bot URL you wish to display.
Example: To display the chatbot configured on the first line of your settings:
[supervised_ai_bot id="1"]
Frontend Behavior & Appearance
Settings configured in the dashboard automatically apply the following behaviors to the frontend via the plugin's built-in styles and scripts:
- Trigger Button: A blue circular floating action button (FAB) appears at the bottom-right of the screen.
- Popup Interface: Clicking the button toggles a 400px wide (max 800px) chatbot window.
- Responsive Iframe: The chatbot content is loaded via a secure iframe, ensuring the bot remains isolated from your site’s CSS while maintaining a height of 670px.
Best Practices
- Verify URLs: Ensure the URLs entered are public and accessible to avoid "Refused to connect" errors within the iframe.
- One per Page: While you can register multiple URLs in the dashboard, it is recommended to use only one shortcode per page to ensure the best user experience and performance.