Prerequisites
- A self-hosted WordPress site (version 5.6 or newer) served over HTTPS at a publicly reachable address — Application Passwords only work over HTTPS, and VexiData rejects plain
http://sites - A WordPress user whose role covers what the AI should do: Editor for posts, pages, media, and comments, or Administrator if it should also manage users or site settings. The AI can never do more than this user can
- The Connect sources capability in your VexiData organization, to connect the platform — Owners and Admins have it by default
VexiData connects to your site from the public internet, so it refuses
addresses that only exist on your own machine or network:
localhost,
hostnames ending in .local or .internal, private IP addresses, and
hostnames that don’t resolve or that resolve to a private address. A local
development site can’t be connected. Use a staging or live site with a
public HTTPS address instead.Sites hosted on WordPress.com use a different sign-in flow that VexiData
doesn’t support yet. A WordPress.com site on a plan that allows plugins
behaves like a self-hosted site and connects with an Application Password.
Connect WordPress
1
Create an Application Password in WordPress
- Sign in to your WordPress admin as the user the AI should act as, and go to Users > Profile
- Scroll to Application Passwords, enter a name (for example,
VexiData), and click Add New Application Password - Copy the password WordPress shows — it appears only once. The spaces in it don’t matter
2
Add the connection in VexiData
Go to the Integrations page in VexiData, click Connect on WordPress, and fill in:
3
Test and connect
Click Test connection to check the credentials without saving, then click Connect. VexiData signs in to your site’s REST API as that user again before saving, and names the connection after your site’s domain. If the test fails, work through the troubleshooting section below.
Managing the connection
To connect more sites, click Add account on the WordPress card on the Integrations page — each site keeps its own URL and credentials. The connection with the Primary badge is the primary, which tools use when a request doesn’t name one. To change it, open another connection and click Make primary in its Connection card. To rotate credentials, revoke the Application Password in WordPress, create a new one, and connect the same site URL again — VexiData updates the existing connection. To remove a site, open its connection and click Disconnect in the Connection card.What the AI can do
The AI acts as the WordPress user behind the Application Password, so
WordPress applies that user’s role: a Contributor can’t publish, an Author
only edits their own posts, and only an Administrator can manage users or
settings. Plugins and themes can’t be installed or changed through
VexiData.
Troubleshooting
Connection test fails
Connection test fails
- Confirm the site URL is correct and starts with
https://. Pasting the admin address (ending in/wp-admin) or the API address (ending in/wp-json) is fine — VexiData trims it - If the error says the site URL points to a blocked host or a private network address (or resolves to one), VexiData can’t reach the site from the public internet — see the note under Prerequisites
- Check your SSL certificate is valid and not expired
- Some security plugins and firewalls block REST API requests — allow requests to
/wp-json/
Authentication errors (401)
Authentication errors (401)
- Use an Application Password, not the user’s login password, and make sure you copied all of it
-
If the error says WordPress never received the credentials, your host drops the
Authorizationheader before it reaches WordPress. On Apache, add this line to the site’s.htaccess, right afterRewriteEngine On:On other hosts, ask support to pass theAuthorizationheader through to PHP - If the error says Application Passwords are disabled, the site isn’t served over HTTPS or a security plugin switched them off — enable them in the plugin’s settings
- If the password was revoked, create a new one and connect the site again with it
The AI gets 403 errors on writes
The AI gets 403 errors on writes
WordPress refuses actions the connected user’s role doesn’t allow — for example, a Contributor publishing a post or an Author editing someone else’s. Create the Application Password for a user with the Editor role (or Administrator for users and settings) and connect the site again.
REST API returns 404
REST API returns 404
WordPress’s REST API needs pretty permalinks. In WordPress, go to Settings > Permalinks and pick any structure except “Plain”, then save. If
https://your-site.com/wp-json/ still shows a 404 or an error page, a firewall or security plugin is blocking it.Tools don't appear in my AI client
Tools don't appear in my AI client
Tools register as soon as the platform is connected, but some clients cache the tool list. Reload or reconnect the VexiData connector in your AI client.