> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WordPress

> Connect WordPress to Iru Compliance over the REST API using HTTP Basic Auth with an Application Password to collect site, user, role, and plugin evidence.

### About WordPress

**WordPress 5.6+** supports **Application Passwords** for REST clients. Iru calls **`https://YOUR_HOST/wp-json/...`** with **HTTP Basic** (**username** + **application password**). **HTTPS** is required - Application Passwords are rejected over plain HTTP.

### How It Works

```http theme={null}
Authorization: Basic base64(username:application_password)
```

| Detail | Value |
| - | - |
| **Category** | CRM |
| **Authentication** | Basic (Application Password) |

Self-hosted **5.6+** or **WordPress.com** **Personal+** (Free tier does not expose Application Passwords per product limits).

Official references: [Application Passwords](https://developer.wordpress.org/advanced-administration/security/application-passwords/), [REST API](https://developer.wordpress.org/rest-api/reference/).

### Prerequisites

* **Administrator** (or role that may issue Application Passwords).
* **`/wp-json`** reachable and not blocked by security plugins.

### Connect WordPress to Iru

> [tab] WordPress
>
> > [!NOTE]
> >
> > Complete this tab before you connect the source in Compliance.
>
> **1. Sign in to WordPress admin**
>
> Open **`https://YOUR_HOST/wp-admin`** and sign in with a user who can edit **Users** and create **Application Passwords** (often an **Administrator**).
>
> **2. Open Users**
>
> In the left admin menu, select **Users** → **All Users**, then select the user Iru will authenticate as (often a dedicated service account).
>
> **3. Open Profile**
>
> Select **Edit** (or **Profile**) for that user to open the profile screen.
>
> **4. Open Application Passwords**
>
> Scroll to the **Application Passwords** section (WordPress **5.6+**). If it is missing, confirm the site allows Application Passwords and is served over **HTTPS**.
>
> **5. Create a new Application Password**
>
> Enter a name such as **Iru Compliance**, then select **Add New Application Password** (or **Add**). WordPress generates a spaced token.
>
> **6. Copy the token once**
>
> Copy the full application password string once. You may paste it into Iru **with or without spaces**; WordPress accepts both forms.
>
> > [!NOTE]
> >
> > Continue on the [**Iru Compliance**](#iru-compliance) tab.

> [tab] Iru Compliance
>
> > [!NOTE]
> >
> > Finish the [**WordPress**](#wordpress) tab first.
>
> **1. Open Sources**
>
> In Iru Compliance, on the left navigation bar, expand **Compliance** and select **Sources**.
>
> ![Left navigation: Compliance expanded, Sources selected](https://mintcdn.com/iru/tI0HDLDwHj8r9Ile/assets/media/images/iru-navigation-compliance-sources.png?fit=max\&auto=format\&n=tI0HDLDwHj8r9Ile\&q=85\&s=87dcef15fc17d2fb9a6e53f454e41710)
>
> **2. Turn on WordPress**
>
> Find **WordPress** (use **Category** or **Search by name or description**). On that card, turn on the **toggle**. A browser tab or window may open for the connector wizard.
>
> **3. Enter hostname**
>
> Enter **hostname** only (for example `blog.example.com`). Confirm server variables if prompted.
>
> **4. Enter WordPress credentials**
>
> Enter **username** and **application password** for the integration account.
>
> **5. Finish the connection**
>
> Select **Submit Credentials**. When the connection succeeds, the wizard shows **Connection Configured**.
>
> **6. Confirm the source is Active**
>
> Close the **Iru is requesting access to external services** browser tab, then return to **Compliance** → **Sources** and confirm the **WordPress** card is **Active**.

### Troubleshooting

> [accordion] Nothing opens when you turn the source on
>
> Check **pop-up blocker** settings for the Iru site and try again.

> [accordion] 401
>
> Correct password; plugin not blocking REST.

> [accordion] REST disabled
>
> Security plugins - allow **`wp-json`**.

> [accordion] HTTP site
>
> Enable **TLS**.

### Related Articles

> [card] [Sources Management](https://docs.iru.com/en/compliance/sources-management.md)
>
> Browse and manage every Compliance source.

> [card] [Getting Started With Compliance](https://docs.iru.com/en/compliance/getting-started-with-compliance.md)
>
> Frameworks, actions, and **Artifacts**.

> [card] [Iru Overview](https://docs.iru.com/en/iru/platform-overview/iru-overview.md)
>
> How Endpoint, Compliance, and Identity fit together.

> [card] [Artifacts Management](https://docs.iru.com/en/compliance/artifacts-management.md)
>
> Upload, review, and organize evidence from sources and actions.


## Related topics

- [Sources Management](https://docs.iru.com/en/compliance/sources-management.md)
- [Create User Accounts](https://docs.iru.com/en/endpoint/blueprints/parameters/create-user-accounts.md)
- [Accessing your apps](https://docs.iru.com/en/identity/end-user/accessing-your-apps.md)
