WordPress
Connect your WordPress site so that your app can read, search, create, and update posts, pages, categories, and tags, and upload media. You need your site’s https address, your username, and an application password that you create in your site’s dashboard.
Connect WordPress
To connect WordPress, you must be a project owner. First, create an application password: in your site’s dashboard, open Users › Profile, and under Application Passwords, add one named FlutterFlow. WordPress shows the password only once. Your login password doesn’t work here.
- Open Project Settings › Connections, and then turn on the switch for WordPress. The Connect WordPress dialog opens.
- In Site address, enter the address that your site opens at, such as
https://example.com. If WordPress is installed in a folder, include the folder. - In Username, enter the username or email address that you sign in to the dashboard with.
- In Application password, paste the application password.
- Click Connect.
WordPress checks the details before FlutterFlow saves the connection. For more information, see Connect a service.
Site user
Your app and the agent act on your site as the user that you connected, with that user’s role in WordPress. Connect a user whose role allows what your app reads and saves. For example, an author can publish only their own posts, and a contributor’s posts wait for review.
What to ask
To ask for a WordPress feature, tell the agent what to show or save, and name the posts, pages, or category that it uses. A new post is saved as a draft unless your request says to publish it. Publishing makes a post public on your site at once. Your app can also delete posts and pages, so name exactly what a feature changes or deletes.
Add a News screen that lists the latest published posts from my WordPress site, with each post’s title, date, and excerpt, and that opens the full post when tapped.
Add a Write post screen where I type a title and some text, and save it to my WordPress site as a draft in the Updates category.
Agent questions
If WordPress isn’t connected, the agent asks you to connect it in a card above the message box, with a Connect WordPress button. See Connect when the agent asks.
Review
After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.
After you push a backend change, check the result in Backend.
Calls from the preview are real, so testing a feature that saves a post saves it on your site. Test with drafts. See How connections work.
Call limit
Your app and the agent share a limit of 60 calls a minute to WordPress through your app’s connection. See Limits.
Push
After you test the feature, push the changes to your app.
Next steps
- To replace the application password or disconnect WordPress, see Manage connections.
- To see the other services that you can connect, see Available services.
Troubleshooting
- “WordPress didn’t accept this application password.”: in the dashboard, create a new application password under Users › Profile, and paste it.
- “WordPress answered as if no one signed in.”: your host may drop the sign-in details before WordPress receives them. Ask your host to pass on the
Authorizationheader. A WordPress.com site without plugins can’t connect this way. - “WordPress’s API didn’t answer at this address.”: check the address. In the dashboard, set Settings › Permalinks to any option other than Plain.
- WordPress refuses the details for another reason: see A service refuses your key.
- Your app shows a message about the service: see Messages shown in your app.