Connect a self-hosted WordPress site
Connect a self-hosted WordPress site
WordPress is publishing software you can host on your own domain. Connect a self-hosted site to Mythos to build a blog, content dashboard, or editorial interface around the content your team already manages there.
WordPress is an App + chat connector. The saved connection can be used in project chat and by your published app. It acts with the permissions of the WordPress user whose Application Password you provide.
Your app can read posts, pages, media information, comments, categories, tags, and navigation information. It can also create or update supported content, including draft posts, when the connected user has permission.
For the hosted WordPress.com service and its personal chat connection, see WordPress.com.
Examples to build
When a workflow should create drafts, say so in the prompt. Include the site and the type of content you want to use.
Connect WordPress to Mythos
You need permission to create App + chat connections in your Mythos workspace. Use an existing connection if it already points to the right site and is available to you.
Before you start
Your WordPress site needs:
- Public HTTPS access.
- WordPress 5.6 or later, with Application Passwords available.
- Permalinks set to an option other than Plain.
- A WordPress user with the permissions your app needs.
- An Application Password created for that user.
The site must expose its REST API under /wp-json without redirecting the request. Include the installation’s subdirectory when WordPress is installed somewhere such as example.com/blog.
Hosting, plugins, and WordPress service costs remain part of your own site setup.
1. Create an Application Password
- Sign in to your WordPress admin dashboard.
- Open Users → Profile for the account you want to use.
- Find Application Passwords, enter a name such as
Mythos content, and choose Add New Application Password. - Copy the password and keep it secure. WordPress shows it when it is created.
- Note the account’s WordPress username and your site’s address.
Use this Application Password instead of the user’s main login password. The user’s role controls what Mythos can read or change. See the WordPress authentication guide for details.
2. Save the connection in Mythos
- From the Dashboard, open Connectors and select WordPress. If a connection already exists, select Add connection to open a new form.
- Enter a Display name, such as
Editorial site. - In Site address, enter the hostname, plus the WordPress subdirectory if needed. Use
blog.example.comorexample.com/blog, withouthttps://, a port, or/wp-json. - Enter the WordPress username that owns the Application Password.
- Paste the password into Application Password.
- Under Sharing, keep Private or choose Share with others. Use Share with workspace for workspace-wide access.
- Click Connect WordPress. Mythos checks the credentials against your site before saving them.
In your project, choose Chat actions (+) → Project connectors, select the saved connection, and click Use in this project.
Start with a read:
Show the five most recent posts from my WordPress site, with their titles, status, and categories. Use them to build a blog index.
Review the posts returned before asking Mythos to add editing or publishing actions.
Permalinks and connection errors
If the connection cannot find the REST API, open Settings → Permalinks in WordPress and check that the setting is not Plain. Confirm that the Site address matches the installation, including its subdirectory.
If authentication fails, check that the username and Application Password belong together and that the password has not been revoked. A security plugin or hosting firewall may also block access to the REST API.
A successful connection does not give the account a new WordPress role. If reading works but editing fails, check the existing user’s permissions in WordPress.
Limitations
- This connection uses the supported WordPress content features. It does not provide general access to arbitrary plugin APIs.
- Media information can be read and edited; uploading media files is not part of this connector.
- Create Application Passwords and manage user roles in WordPress admin. The connection cannot bypass those permissions.
- HTTPS, hosting, plugins, and permalink configuration remain part of your WordPress setup. Nonstandard ports are not supported.
- For products, orders, and customers in a WooCommerce store, use WooCommerce.
- Linked projects use the saved WordPress account. This does not add a separate WordPress login for each visitor.
Manage the connection
Open Connectors → WordPress and select the saved connection. Use Unlink projects to remove selected projects, or Disconnect to stop access through it. Your site and its content remain in WordPress.
To replace credentials, create another Application Password in WordPress. Disconnect the old Mythos connection, create a new one with the replacement password, and link it to the affected projects. Ask Mythos to set up their app features again. Revoke the old password in WordPress when you no longer need it.