Give your WordPress site an AI-powered customer support chatbot that uses your site content as context.
AskX is an agentic AI chatbot that answers visitors using a knowledge base built from your own data. This plugin connects your WordPress site to AskX through secure, API-key-protected REST endpoints — so the chatbot can answer using the content you choose to expose.
Why Use This Plugin?
This plugin creates a direct, authenticated data connection between WordPress and AskX. You control exactly which content types are shared — posts, pages, WooCommerce products, custom post types — and AskX uses that content for customer support and site-related answers.
Key Features
- Full WordPress Integration — AskX connects directly with your WordPress
site through secure REST APIs. You choose exactly which content types to
share: posts, pages, comments, users, and custom post types.
- WooCommerce Support — When WooCommerce is active, product list/single
endpoints and single-order-by-ID order endpoints are available. Orders
cannot be listed in bulk; use a known order ID (for example for order-status
lookups). Your chatbot can help visitors find products and answer
store-related questions.
- Works With Any Site — Compatible with standard WordPress sites,
WooCommerce stores, LearnDash courses, BuddyPress/BuddyBoss communities,
booking platforms, and any site using custom post types.
- Simple Setup — Install the plugin, select your content types, download
the JSON configuration file, and upload it to AskX. Your chatbot is connected.
- Chatbot Display — Enter your AskX Chatbot ID in the plugin settings.
The widget loads automatically on your frontend using standard WordPress
script enqueueing.
- Customizable AI Behavior — In AskX, configure how the chatbot responds:
set system prompts, add predefined questions, and adjust parameters like
creativity level and response length.
- Visual Widget Builder — Design your chatbot widget in AskX to match
your site theme and branding.
- Knowledge Base Training — Train the AskX chatbot using uploaded documents,
website URLs, or your WordPress content via this plugin API connection.
- API-Key Security — Every API request requires authentication. No data
is exposed without a valid API key
How AskX Uses Your Content
AskX builds its knowledge base from three types of input: documents (PDFs), website URLs, and WordPress content via API. This plugin provides a direct API integration: authenticated REST endpoints so AskX can read structured WordPress and WooCommerce data you enable, keeping answers aligned with your site as content changes.
How to Connect
- Install and activate the plugin.
- Choose which content types to expose in the plugin settings.
- Download the API Configuration JSON file.
- In AskX, provide the JSON during chatbot creation or via the “Connect WordPress” option.
- Enter your AskX Chatbot ID in the plugin to display the chatbot on your site.
Available Endpoint Groups
- WordPress core: posts, pages, users, comments
- WooCommerce (if active): products (list and single); orders (single order by ID only, no list-all)
- Custom post types: all public CPTs
- Search: unified search across all enabled types
- Chatbot-optimized: endpoints formatted for AI consumption
Who Is This For?
- WordPress site owners who want AI-powered customer support that uses their published content
- WooCommerce stores needing product-aware chatbot assistance
- Agencies managing multiple WordPress sites with AskX
- Developers building AI integrations with WordPress content
Third-party services
This plugin integrates with AskX-related services used from your site or browser.
1. AskX Blog API (admin screen)
- Service:
https://askx.io
- Purpose: display latest AskX news cards in the plugin admin page.
- Data sent: pagination parameters (
page, page_size, is_published) in a server-to-server request. Your API key is not included.
- Trigger: when an admin opens the plugin settings screen or uses pagination controls.
2. AskX connection flow (browser)
- Service: AskX web application (e.g.,
https://askx.io/admin).
- Purpose: let AskX receive the configuration it needs to call your site’s REST APIs.
- How it works: a site administrator completes the AskX Website Connection consent screen in wp-admin. On approval, the plugin sends a message to the AskX browser window using the standard
postMessage API (no server-to-server HTTP request). On denial, only a denial status is sent.
- Trigger: only when an administrator explicitly approves or denies on the consent screen.
3. AskX Chatbot Widget (frontend)
- Service:
https://askx.io
- Purpose: loads the AskX chatbot widget for site visitors.
- Data sent: visitor chat messages are sent to AskX servers for AI processing.
- Trigger: on every frontend page load when a valid Chatbot ID is saved and the widget is enabled.
AskX legal pages:
Privacy
Data stored on your site
- API key — authenticates requests to this plugin’s REST routes (stored in wp_options).
- Exposed API types — your content-sharing preferences.
- AskX Chatbot ID — used to load the chatbot widget.
Data returned by REST API
When a valid API key is supplied, responses include WordPress and WooCommerce data according to your Exposed API Types settings. Prefer the X-API-Key header over query parameters to prevent accidental key exposure in logs.
Data sent to AskX
- Admin screen: pagination parameters for blog/news cards (no API key sent).
- Connection flow: site URL and API key via browser
postMessage on explicit admin approval.
- JSON export: downloaded locally — the plugin does not send it to AskX automatically.
- Frontend visitors: chat messages are sent to AskX for AI processing when the widget is active.