---
title: "Quick Setup"
description: "End-to-end quick setup for Login for Stripe Customer Portal on WordPress."
url: "https://docs.customerportalplugin.com/getting-started/quick-setup/"
---
## Checklist

1.  [Install and activate](../installation/) the plugin.
2.  Complete [Stripe prerequisites](../stripe-prerequisites/) (portal enabled, API key ready).
3.  Open **Stripe Portal** in the WordPress admin menu.
4.  Enter your **Stripe Secret Key**.
5.  Set the **Customer Portal Slug** (default: `customer-portal`).
6.  Optionally set a **Redirect URL** for after customers exit the portal.
7.  Click **Save Changes**.
8.  Go to **Settings → Permalinks** and click **Save Changes** (no edits required — this flushes rewrite rules).
9.  Visit `https://yoursite.com/customer-portal/` (or your custom slug) and test with a customer email.
10.  Optionally embed `[login-stripe-customer-portal]` on any page.

![Plugin settings — Stripe Portal admin page](../../assets/images/admin-settings-page.png)

After saving, the settings page shows your **Customer Portal URL** and the shortcode to embed the form.

![Customer Portal URL and shortcode reference on settings page](../../assets/images/admin-settings-saved-url.png)

## Permalinks

The dedicated login URL uses WordPress rewrite rules. After changing the portal slug, **resave permalinks**:

**Settings → Permalinks → Save Changes**

![Permalink settings — resave after slug changes](../../assets/images/permalink-settings.png)

If `/customer-portal/` returns a 404, permalinks are the most common fix. See [Troubleshooting](../../troubleshooting/troubleshooting/).

## Test the login flow

1.  Open your customer portal URL in a private browser window.
2.  Enter an email address that exists as a Stripe customer (or any email if you allow new customers).
3.  Check the inbox for **Login to Stripe Customer Portal** (see [Login Flow](../../usage/login-flow/)).
4.  Click the link within one hour — you should land in Stripe's Customer Portal.

![Customer login form at the dedicated endpoint](../../assets/images/login-form-endpoint.png)

## Optional: embed with shortcode

Create or edit a page and add:

```
[login-stripe-customer-portal]
```

![Login form embedded via shortcode on a WordPress page](../../assets/images/login-form-shortcode.png)

## Related docs

[Settings Reference›](../../configuration/settings-reference/) [Login Flow›](../../usage/login-flow/)
