# WordPress

{% hint style="warning" %}
**NOTE**: A paid BlitzBear account is required to use the WordPress integration.
{% endhint %}

## How to connect

Follow the instructions below to connect your BlitzBear project to your WordPress account (est. time of 2 min).

**Step 1**: Visit your `/wp-admin`, navigate to *All Users*, then click the user that you want to connect to BlitzBear.

<figure><img src="https://488666016-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS4vYXiFi4Y6HS1bAJh3o%2Fuploads%2Fz6dhxtHOZgpNHcN6O2lW%2Fimage.png?alt=media&#x26;token=5144818b-11ff-4eae-b24d-ca4d0dea8a5e" alt=""><figcaption></figcaption></figure>

**Step 2**: Scroll down to the *Name* section and make sure the user has an *Editor* role or higher.

<figure><img src="https://488666016-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS4vYXiFi4Y6HS1bAJh3o%2Fuploads%2FX8h88veSUn1OogzE5WkQ%2Fimage.png?alt=media&#x26;token=e0f1a178-4cd3-4b3e-aebd-a23821f404c2" alt=""><figcaption></figcaption></figure>

**Step 3:** Scroll to the *Application Passwords* section, enter "BlitzBear", then press the Enter key.

<figure><img src="https://488666016-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS4vYXiFi4Y6HS1bAJh3o%2Fuploads%2FqYP7XBS9KGkk78rogxQB%2Fimage.png?alt=media&#x26;token=b7fa5216-e0a3-4c8b-b506-b827b6a451d3" alt=""><figcaption></figcaption></figure>

**Step 4:** Copy the generated *Application Password* to your clipboard.

<figure><img src="https://488666016-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS4vYXiFi4Y6HS1bAJh3o%2Fuploads%2FJhTnjLTqw5KAIhnn6Ura%2Fimage.png?alt=media&#x26;token=b0e336e9-8a4c-415d-b928-838e4217767f" alt=""><figcaption></figcaption></figure>

**Step 5:** Open your BlitzBear project editor and enter the following:

* **Site Address (URL)** - This is your WordPress blog URL and will be pre-filled based on the URLs you submitted. Please confirm or update the URL to make sure it is correct.
* **Username** - Enter your Username from Step 1 (NOTE: Your username is typically your email address, and may not be "BlitzBear". Refer to the screenshot from [Step 1](https://support.blitzbear.com/integrations/wordpress#how-to-connect)).
* **Application Password** - Enter your Application Password from Step 4

Then click Submit. Once your WordPress account is connected, you will now see 'Publish' buttons in your BlitzBear article dashboard. Once you click 'Publish', your WordPress post will be created or updated with those changes.

***

## How to publish changes to WordPress

From your [BlitzBear dashboard](https://app.blitzbear.com/dashboard), open an article then click the *Publish Changes* button.

<figure><img src="https://488666016-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS4vYXiFi4Y6HS1bAJh3o%2Fuploads%2FlJRBzjgCueOsB1ZDfTFZ%2Fimage.png?alt=media&#x26;token=9e2c5fd0-7930-4bda-b103-bbbb03ec12a3" alt=""><figcaption></figcaption></figure>

* **For newly generated articles:** Once published, your WordPress post will be created in *Draft* mode. This includes the WordPress post's title, cover image, excerpt, and content.
* **For optimized existing articles:** Once published, your WordPress post will be updated with the list of SEO optimization changes. This includes the WordPress post's title, excerpt, and content.
  * **NOTE:** BlitzBear will first search for a matching URL slug from your WordPress posts collection, but if none are found then BlitzBear will also search from your WordPress pages collection and update the page accordingly if one is found.

You will see the article's status change to *Published* from your BlitzBear dashboard.
