---
title: "Integration with WordPress"
description: "Add Block-Auth to a WordPress site with the Block-Auth Login plugin, without writing code."
url: "/sdk-integration-wordpress/"
language: "en"
guide: "WordPress"
step: "Read first"
---

# WordPress

Follow this guide if your site runs on WordPress. You don't write code: the **Block-Auth Login** plugin does the whole integration.

## What you get

- A **Block-Auth button** on the WordPress login, or a login without passwords at all.
- Every login is **verified on your server** with your API secret before WordPress creates the session.
- WordPress **users are created or found** automatically, with the role you choose.
- Sessions **close in WordPress** when the user signs out in Block-Auth or unlinks your site, if you set up the [webhook](/sdk-integration-wordpress-options.md#webhook).

## Prepare your app

1. In the Dashboard, create your application with your site's domain and validate it, following the [Integration Quickstart](/integration-quickstart.md#applications).
2. Copy the `apiKey` and `apiSecret` from [Applications » Integration details](/integration-quickstart.md#apps-retrieve-keys).

Next: [Install the plugin](/sdk-integration-wordpress-install.md), the first required step.
