WordPress Plugin
The Native WordPress Integration WordPress
Section titled “The Native WordPress Integration ”The MyGPTAssistants WordPress Plugin gives you a full native integration — no theme file editing, no manual script pasting. Install it like any other plugin, enter your API key, and your AI assistant appears on your site with a dedicated settings panel.
Why Use the Plugin vs. Manual Embed?
Section titled “Why Use the Plugin vs. Manual Embed?”| WordPress Plugin | Manual Embed Script | |
|---|---|---|
| Setup | Install from dashboard | Edit theme files |
| Settings UI | Full settings panel in WP admin | Edit widget config in dashboard |
| Shortcode support | Yes — [mga_chat_app] | No |
| Updates | Auto-updates via WordPress | Manual code updates |
| Page-specific control | Yes — via shortcode placement | Limited |
| Theme file changes required | None | Yes |
Installation
Section titled “Installation”-
Download the plugin from your MyGPTAssistants dashboard → Embed → WordPress tab
-
Upload to WordPress:
- Go to Plugins → Add New → Upload Plugin
- Select the downloaded
.zipfile - Click Install Now
-
Activate the plugin after installation
-
Enter your API Key:
- Navigate to Settings → MyGPTAssistants in your WP admin
- Paste your API key from MyGPTAssistants → Settings → API Keys
-
Select your assistant:
- Choose which assistant to embed
- Your bot is now live on your site!
Plugin Settings Panel
Section titled “Plugin Settings Panel”After installation, navigate to Settings → MyGPTAssistants to configure:
| Setting | Description |
|---|---|
| API Key | Your MyGPTAssistants API key |
| Assistant | Which assistant to display |
| Display Mode | Widget (floating button) or Inline |
| Auto-open | Open the chat automatically on page load |
| Setting | Description |
|---|---|
| Widget Position | Bottom-right or bottom-left |
| Primary Color | Override the widget’s primary color |
| Button Icon | Chat bubble icon style |
| Widget Width | Width of the chat panel (px or %) |
| Setting | Description |
|---|---|
| Show on All Pages | Display widget site-wide |
| Exclude Pages | Specific pages to hide the widget on |
| Show to Logged-In Users | Control visibility by login state |
| Show to Guests | Control visibility for non-logged users |
Shortcode Usage
Section titled “Shortcode Usage”Use the [mga_chat_app] shortcode to embed a full inline chat panel anywhere on your site:
Basic Usage
Section titled “Basic Usage”[mga_chat_app]With Options
Section titled “With Options”[mga_chat_app bot_id="your-bot-id" height="600" width="100%"]Shortcode Parameters
Section titled “Shortcode Parameters”| Parameter | Default | Description |
|---|---|---|
bot_id | Plugin setting | Override which assistant to show |
height | 600px | Height of the inline chat panel |
width | 100% | Width of the inline chat panel |
class | — | Additional CSS class for styling |
WordPress Tools Plugin
Section titled “WordPress Tools Plugin”When connected, the plugin also enables WordPress Tools for your AI assistant — giving it the ability to search your site’s actual content:
- Search your WordPress posts and pages
- Look up WooCommerce products and prices
- Answer questions about your site content accurately
- Always return up-to-date information (no re-training needed)
Enable this in your assistant → Plugins → WordPress Tools.
Automatic Updates
Section titled “Automatic Updates”The plugin uses Ed25519-signed updates delivered through the WordPress update system. When a new version is released:
- You’ll see an update notification in Plugins → Installed Plugins
- Click Update Now to apply
- No manual download needed
Troubleshooting
Section titled “Troubleshooting”- Check that the plugin is activated in Plugins → Installed Plugins
- Verify your API key is entered correctly in Settings → MyGPTAssistants
- Check the “Show on All Pages” setting is enabled (or add shortcode manually)
- Clear your WordPress cache and browser cache
- Go to Settings → MyGPTAssistants → General
- Verify the correct assistant is selected in the dropdown
- Save settings and clear cache
- Make sure the plugin is activated
- Check for shortcode typos — it must be exactly
[mga_chat_app] - Some page builders (Elementor, Divi) require using a “Shortcode” block widget