# WordPress

> This page is about FlutterFlow (the app builder you use by describing your app), not FlutterFlow Studio.

URL: https://docs.flutterflow.io/ffx/wordpress

Connect your WordPress site with an application password, then ask the agent for features that read, create, and update posts, pages, categories, and tags, and upload media.

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 {#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.

1. Open **Project Settings › Connections**, and then turn on the switch for **WordPress**. The **Connect WordPress** dialog opens.
2. 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.
3. In **Username**, enter the username or email address that you sign in to the dashboard with.
4. In **Application password**, paste the application password.
5. Click **Connect**.

WordPress checks the details before FlutterFlow saves the [connection](https://docs.flutterflow.io/ffx/glossary#backend-and-data). For more information, see [Connect a service](https://docs.flutterflow.io/ffx/connect-a-service).

## Site user {#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 {#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.

> Example request: "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."

> Example request: "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](https://docs.flutterflow.io/ffx/connect-a-service#connect-when-the-agent-asks).

## Review

After the agent finishes, read the turn's [**Summary**](https://docs.flutterflow.io/ffx/what-changed#summary) and review its [**Changes**](https://docs.flutterflow.io/ffx/what-changed#changes-tab). 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**](https://docs.flutterflow.io/ffx/thread-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](https://docs.flutterflow.io/ffx/connections#preview-calls-are-real).

## Call limit {#call-limit}

Your app and the agent share a limit of 60 calls a minute to WordPress through your app's connection. See [Limits](https://docs.flutterflow.io/ffx/limits#connections).

## Push

After you test the feature, [push the changes to your app](https://docs.flutterflow.io/ffx/push).

## Next steps

- To replace the application password or disconnect WordPress, see [Manage connections](https://docs.flutterflow.io/ffx/manage-connections).
- To see the other services that you can connect, see [Available services](https://docs.flutterflow.io/ffx/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 `Authorization` header. 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](https://docs.flutterflow.io/ffx/troubleshoot-connections#key-refused).
- **Your app shows a message about the service:** see [Messages shown in your app](https://docs.flutterflow.io/ffx/troubleshoot-connections#app-messages).
