> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/wordpress.md).

# WordPress

## Connection

When you're setting up your first workflow with WordPress, you will need to create a [Connection](https://docs.getmesa.com/going-further/credentials) in order to connect MESA with WordPress.

<figure><img src="/files/T0on64k3VsANkJyTyTDs" alt="Screenshot of the MESA WordPress step Connection setup for connecting MESA with WordPress. Spotlight the Add connection form with the Hostname, Username and Password fields."><figcaption></figcaption></figure>

To create a WordPress connection, login to your account at <https://login.wordpress.org/>

First, copy your Hostname by selecting the URL from your search bar while within your dashboard and paste it into the Hostname field of the WordPress step in your workflow. This should be the URL including `https://` up to (but not including) `/wp-admin/`

<figure><img src="/files/WkSDnPLtLlFx9gDQnhih" alt="Screenshot of the WordPress dashboard with the site URL in the browser search bar, copying the Hostname up to but not including /wp-admin/. Spotlight the browser address bar."><figcaption></figcaption></figure>

Next, open the Users menu from the left sidebar of the WordPress dashboard and click on the user of the WordPress account that you want to connect with. On the Profile page, scroll down and copy the Username and paste it in the Username field of your WordPress step.

<figure><img src="/files/0feQ4xhp9eKp70L8Z0BS" alt="Screenshot of the WordPress dashboard left sidebar with the Users menu opened to select an account. Spotlight the Users menu."><figcaption></figcaption></figure>

<figure><img src="/files/64ujbyPLuEcrNt4kC6Jp" alt="Screenshot of the WordPress user Profile page scrolled to the account details. Spotlight the Username field to copy."><figcaption></figcaption></figure>

Lastly, while still in the Profile page, scroll down to the Application Passwords and enter MESA in the New Application Password Name field. Then, click Add Application Password.

<figure><img src="/files/dl6p8b9RqJ5u2SwIAkgy" alt="Screenshot of the WordPress Profile page Application Passwords section with MESA entered as the name. Spotlight the New Application Password Name field and Add Application Password button."><figcaption></figcaption></figure>

Copy the generated password and paste it into the Password field or your WordPress step in your workflow.

<figure><img src="/files/BAii80DeqToV7QWxNvoO" alt="Screenshot of the WordPress Profile page showing the newly generated Application Password. Spotlight the generated password to copy."><figcaption></figcaption></figure>

<figure><img src="/files/MgYQoivVue4hwsy3h1gw" alt="Screenshot of the MESA WordPress step with the generated Application Password pasted in. Spotlight the Password field."><figcaption></figcaption></figure>

{% hint style="warning" %}
The New Application Password can only be viewed and copied during the creation process. Be sure to save it if you will need to reference it in the future.
{% endhint %}

Once that's done, click the Add connection button to complete your connection setup. You should now see your new connection added to the dropdown when the step updates.

<figure><img src="/files/bywDr2qZfp5vUgnEadVX" alt="Screenshot of the MESA WordPress step with the new connection added to the dropdown. Spotlight the Add connection button."><figcaption></figcaption></figure>
