# EmDash Memberships

> Member accounts for EmDash sites: magic-link sign-in, plans and entitlements, Stripe subscriptions with trials, coupons and revenue reporting, lifecycle emails, comp time, and a Members area in the EmDash admin.

Source: https://emdashcmseverything.com/plugins/emdash-memberships/

- Category: Commerce
- Status: available
- Version: 0.5.0
- Price: Unknown
- Compatibility: EmDash >=1.3.0
- License: MIT
- Maintainer: Ryan Edick
- Download: https://www.npmjs.com/package/emdash-memberships
- Repository: https://github.com/ryanedick/emdash-membership
- Published: 2026-11-10

Member accounts for EmDash sites: magic-link sign-in, plans and entitlements, Stripe subscriptions with trials, coupons and revenue reporting, lifecycle emails, comp time, and a Members area in the EmDash admin.

## Installation

Install the package from npm:

```bash
npm install emdash-memberships
```

Register the plugin in your Astro config:

```js
import { membershipsPlugin } from "emdash-memberships/plugin";

emdash({
  plugins: [membershipsPlugin({ d1Binding: "DB" })],
});
```

This entry adds the Members area to the EmDash admin; sign-in and billing run from routes in your own site. It needs a Cloudflare D1 database, and the optional Stripe payments need a Stripe account (a third-party service).

## Details

- **Latest version:** 0.5.0
- **License:** MIT
- **Publisher:** Ryan Edick
- **Requires:** EmDash `>=1.3.0`
- **Source repository:** [https://github.com/ryanedick/emdash-membership](https://github.com/ryanedick/emdash-membership)
- **npm package:** [emdash-memberships](https://www.npmjs.com/package/emdash-memberships)
