Description
MsgBox AI Chat brings AI-powered customer support to your WordPress website. The plugin seamlessly integrates an intelligent chat widget that provides instant, automated responses to visitor questions.
Features
- Easy Setup – Just enter your Site ID and you’re ready to go
- Widget Control – Enable or disable the chat widget with one click
- Position Options – Place the widget on the bottom-right or bottom-left
- Page Exclusions – Hide the widget on specific pages or posts
- User Visibility – Show widget to everyone, logged-in users only, or guests only
- RTL Support – Full support for right-to-left languages like Hebrew and Arabic
- WooCommerce Ready – Connect your product catalog for smart product recommendations
- Ask the AI on product pages – An optional “Ask our AI anything about this product” box on WooCommerce product pages (Commerce plan and up), placed via real WooCommerce hooks, the
[msgbox_ask]shortcode, or the “MsgBox: Ask the AI” block. Suggested questions are generated automatically from the product description and can be switched off. Enabled and configured from your MsgBox dashboard — the plugin holds no extra settings.
WooCommerce Integration
If you have WooCommerce installed, MsgBox can access your product catalog to provide intelligent product recommendations in chat responses. The connection is automatic and secure: the plugin answers MsgBox over a signed, read-only link and no WooCommerce API keys are generated or stored anywhere.
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- A MsgBox account with a valid Site ID
External Service
This plugin relies on a 3rd party service, MsgBox AI Chat (https://msgbox.nbplugins.com), to function.
The plugin sends the following data to MsgBox servers:
- Chat messages between visitors and the AI chatbot
- Visitor information (if collected via lead forms)
- Site ID for account identification
- On WooCommerce product pages with the “Ask the AI” box enabled: the Site ID and the numeric product ID, sent from the visitor’s browser to
msgbox.nbplugins.com/api/product-chips.php(no cookies, no personal data) to fetch suggested questions; product details are read by MsgBox server-side over the signed store connection
An account at MsgBox AI Chat is required to use this plugin.
Service Terms:
Blocks
This plugin provides 1 block.
- Msgbox Ask
Installation
- Upload the
msgbox-ai-chatfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings > MsgBox AI Chat
- Enter your Site ID from the MsgBox Dashboard
- Configure your preferred settings
- Save changes – the chat widget will appear on your site
FAQ
-
Where do I get my Site ID?
-
Your Site ID is available in your MsgBox Dashboard at https://msgbox.nbplugins.com. Sign up for an account if you don’t have one.
-
Can I hide the widget on certain pages?
-
Yes! In the plugin settings, you can enter comma-separated page or post IDs where you want to hide the widget.
-
Does this work with WooCommerce?
-
Yes! If WooCommerce is installed, MsgBox connects to your product catalog automatically and securely — there are no API keys to generate or paste. The plugin answers MsgBox over a signed, read-only connection.
-
Is the widget mobile-friendly?
-
Absolutely. The MsgBox widget is fully responsive and works great on all devices.
-
Does this plugin slow down my site?
-
No. The widget script loads asynchronously with the
deferattribute, ensuring it doesn’t block your page rendering. -
Is MsgBox free?
-
Yes. MsgBox includes a free plan that keeps working on your site — it answers visitors from the Q&A you set up, plus a monthly allowance of AI replies, at no cost. Premium plans add faster responses, WooCommerce product search, mobile push notifications, and higher limits. New accounts also get a 7-day head start with premium features to try — afterwards the account simply continues on the free plan. Nothing is switched off.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“MsgBox AI Chat” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “MsgBox AI Chat” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.4.4
- Changed: new look for the “Ask the AI” box — the question field is a single pill with the send arrow inside it (no separate button), the title is in your accent colour with a sparkle mark, and the suggested-question chips are borderless white pills with a soft shadow. Same behaviour, same keyboard/screen-reader semantics.
1.4.3
- Fixed: the suggested-question chips and the question field in the “Ask the AI” box could pick up the theme’s button/input colours (the send button was already protected in 1.4.2) — the whole box now follows the accent colour set in your MsgBox dashboard, whatever the theme.
1.4.2
- Fixed: the “Ask the AI” send arrow pointed the wrong way on Hebrew/RTL sites (it was mirrored twice) and could sit off-centre or pick up the theme’s button outline; it is now an inline icon, centred, mirrored once for RTL, and styled independently of the theme.
- Improved: three shimmering placeholder pills show while the suggested questions load (they are generated once per product and then cached), and the box waits up to 8 seconds for them before falling back to the generic questions.
1.4.1
- Maintenance: packaging/version bump of the 1.4.0 release. No functional change.
1.4.0
- New: “Ask the AI” box on WooCommerce product pages. Visitors ask about the product they are looking at and the answer appears inside the box, on the page (no popup). Turned on, positioned (below/above add-to-cart, after the excerpt, end of summary, below the description, or manual via the
[msgbox_ask]shortcode / “MsgBox: Ask the AI” block) and styled from your MsgBox dashboard; the plugin renders exactly what the dashboard sent it. Off by default. - New: Suggested questions under the box are generated automatically from the product’s own description and attributes; you can switch them off in the dashboard. Only the product ID leaves the visitor’s browser — product text is read server-side over the existing signed connection.
- New:
msgbox_product_block_showandmsgbox_product_block_priorityfilters for developers; Block Hooks support for block themes (WordPress 6.4+). - Improved:
MSGBOX_API_URL,MSGBOX_WIDGET_URLandMSGBOX_PUBLIC_BASE_URLcan be overridden from wp-config.php (staging/dev).
1.3.0
- New: Key-free WooCommerce connection. Product search, categories, and order-status lookups work without generating or pasting any WooCommerce REST API keys — the plugin answers MsgBox over a signed (HMAC), read-only connection scoped to your store. You can remove any old MsgBox API keys from WooCommerce > Settings > Advanced > REST API.
- New: You connect WooCommerce explicitly — a “Connect WooCommerce to MsgBox” button shows exactly what the chat can read (catalogue, order status, registered-customer yes/no — never personal data, never write access) and only links after you confirm. A “Disconnect” button lets you revoke it anytime.
- Security: No WooCommerce credentials are stored by MsgBox. Requests are authenticated per-install, replay-protected, and read-only.
1.2.5
- New: “Admins Only” visibility option — show the chat to administrators only, for previewing or testing on a live site before exposing it to visitors.
- Changed: New installs now default to Admins-Only visibility — the chat stays private to you until you set User Visibility to “Everyone” (or another audience). Existing sites keep their current setting.
1.2.4
- New: Smart visibility — the chat appears to you (site admins) as a preview the moment you connect, and goes live for all visitors automatically once your bot is activated (a business description is set). An unconfigured chat is never shown to your customers, and there is nothing to toggle manually.
- New: Clearer onboarding — if the welcome email fails to send, the plugin now says so and offers a one-click resend, instead of telling you to check an inbox that received nothing.
- Fixed: Output escaping on the connected-status card (WordPress.org Plugin Check compliance).
- Compatibility: Tested up to WordPress 7.0.
1.2.2 – 2026-05-07
- New: Clearer free-plan messaging on the registration form.
- New: One-time welcome notice after registration with login details (username = your email, password sent to inbox).
- New: Connected status card now shows login reminder and AI activation guidance instead of the technical Site ID.
- New: Custom bot icon in the WP admin sidebar menu (replaces the generic chat dashicon).
- Removed: “Disconnect” button (was confusing and rarely needed; widget can be turned off via the Enable Widget toggle).
- Fixed: Terms checkbox label rendering — text wrapped awkwardly in English due to a flex layout issue.
- Fixed: Bot mascot illustration alignment in LTR locales.
- i18n: Updated Hebrew translations.
1.2.1 – 2026-05-06
- Improved: Registration form now uses the WordPress Site Administration Email (Settings General) instead of the current logged-in user’s profile email. This is the canonical site identifier and remains stable across user changes (more appropriate for agencies and multi-admin sites).
1.2.0 – 2026-05-03
- New: “Refresh Chat Cache” button under Troubleshooting — forces visitors’ browsers to fetch the latest chat assets immediately. Useful for emergency fixes when you don’t want to wait for cache expiration.
- New: Auto cache reset on plugin update — visitors automatically get fresh assets after every plugin upgrade, no manual action required.
- Internal: Added
msgbox_cache_busteroption (timestamp-based) appended to widget script version.
1.1.0 – 2026-05-01
- Security: Migrated chat widget to a sandboxed cross-origin iframe architecture (industry standard, same as Intercom, Zendesk, Drift). The chat UI now runs in full isolation from your site — its CSS, JavaScript, cookies, and storage are completely separated from your WordPress theme and other plugins.
- Security: All chat code now executes in our origin (msgbox.nbplugins.com) under our own Content Security Policy, preventing any potential script from the chat from affecting your site.
- Performance: Lazy-loaded chat content for faster initial page render.
- Compatibility: No action required for existing sites — automatic upgrade.
1.0.0
- Initial release
- Widget injection with customizable position
- Page exclusion feature
- User visibility controls
- WooCommerce detection and setup guide
- RTL language support
- Full internationalization support
