Introduction
The Supervised AI Bots (wpai) plugin serves as the official bridge between your WordPress website and the Supervised AI platform. This plugin allows site administrators to deploy interactive, AI-driven chatbots to any WordPress site with minimal configuration, providing a seamless communication layer for visitors.
By utilizing this plugin, you can transform static web pages into interactive experiences, leveraging Supervised AI's capabilities to handle customer queries, lead generation, or automated support directly within your existing WordPress environment.
Core Capabilities
The wpai plugin is designed for flexibility and ease of use, offering the following primary features:
- Multi-Bot Management: Register and manage multiple Supervised AI chatbot instances from a single dashboard.
- Shortcode Integration: Deploy specific chatbots anywhere on your site—including posts, pages, or widget areas—using a simple shortcode system.
- Responsive Popup Interface: Chatbots are delivered via a sleek, floating popup interface that includes a toggleable "circle button" to ensure a non-intrusive user experience.
- Centralized Configuration: A dedicated administration interface allows you to manage bot URLs and settings without touching any code.
Getting Started
The plugin functions by mapping Supervised AI chatbot URLs to unique IDs. Once configured in the WordPress Admin dashboard, you can display a bot using the [supervised_ai_bot] shortcode.
Basic Usage
To display a specific chatbot, use the following shortcode structure:
[supervised_ai_bot id="1"]
- id: Corresponds to the row number of the bot URL provided in the plugin settings. For example, the first URL entered in the settings page is assigned
id="1".
Visual Integration
When a shortcode is active on a page, the plugin automatically injects the necessary assets to create a floating chat interface:
- Toggle Button: A circular blue button appears at the bottom-right of the screen.
- Chat Container: Clicking the button opens a high-definition iframe (800px max-width) containing the Supervised AI interface.
- Mobile-Ready: The container is styled to handle fixed positioning and overflow, ensuring it stays accessible as users scroll through your content.
Administration Interface
After installation, you can manage your bots by navigating to the Supervised AI Bots menu in the WordPress admin sidebar.
- URL Configuration: Paste your Supervised AI chatbot URLs into the provided textarea.
- Format: Enter one URL per line. The order of these URLs determines their
id(Line 1 = ID 1, Line 2 = ID 2, etc.). - Deployment: Copy the generated shortcode and paste it into the Block Editor (Gutenberg) or Classic Editor.