> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.courses-plus.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add a subscription to your community

| You can sell access to your [Mega Community](https://help.courses-plus.com/en/article/mega-community-app-ohwf02/) community by subscription with our [Subscriptions Plus](https://help.courses-plus.com/en/article/subscriptions-plus-app-32dru1/) app

**In this article:**

* [Create a paid community](#2-create-a-paid-community)
* [Create a subscription plan](#2-create-a-subscription-plan)
* [Add the subscription block to your theme](#2-add-the-subscription-block-to-your-theme)
* [Cancel a subscription and remove access](#2-cancel-a-subscription-and-remove-access)

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/overview.png)

## Create a paid community

1. Open **Mega Community → Communities** and click **Create community**. For more details, see [Create a community on Shopify](https://help.courses-plus.com/en/article/community-creation-17i5pgi/).

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/create-community.png)

2. Enter the **Title** and **Description** of your community.
3. In **Access type**, select **Paid** and enter the price. Later, you can turn off the one-time purchase and sell access by subscription only — see the last step of the theme section below.
4. Click **Save**. Mega Community automatically creates a Shopify product for your community — you'll add the subscription to it in the next section.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/community-details.png)

## Create a subscription plan

1. Open **Subscriptions Plus** and, in **Create new subscription plan**, click **Create a plan**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/create-plan.png)

2. Enter a plan name, e.g. Community subscription, and click **Choose a product for subscription**. The plan name is for internal use only and isn't visible to customers.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/plan-name.png)

3. Select your community's product and click **Select**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/select-product.png)

4. Click **Next step**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/next-step.png)

5. Set up the subscription rules — for example, a **Monthly** interval with a **Fixed value** price — and click **Create subscription**. The preview on the right shows how the subscription options will look on the community's product page. All settings are described in the [Subscriptions Plus app](https://help.courses-plus.com/en/article/subscriptions-plus-app-32dru1/) article.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/subscription-rules.png)

## Add the subscription block to your theme

1. On the **Subscriptions Plus** dashboard, in **Add subscriptions plus app block to your active theme**, click **Edit your theme**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/edit-theme.png)

2. The theme editor opens with the **Subscriptions block** already added to the product template. Click **Save** in the top-right corner.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/theme-block.png)

3. Optionally, to sell access by subscription only, open **Products** and select your community's product. In **Purchase options**, check **Only sell this product with these purchase options** and save the product. The one-time purchase option disappears from the product page.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@10cefb8562f15d5cd31a0f9c50a832d42f8c06ee/add-subscription-to-community/subscription-only.png)

## Cancel a subscription and remove access

|| Please note: If a member cancels their subscription themselves — for example, from their orders page — they lose access to the community right away, and you don't need to do anything.

If you cancel a subscription yourself in Subscriptions Plus, one more step is needed to remove the member's access: a [Shopify Flow](https://apps.shopify.com/flow) workflow that adds a special restriction tag to the customer. Create the workflow once, and it will work for every cancellation.

1. Open your community in **Mega Community → Communities** and copy the **Tag to restrict access to this community** from the **Tags** section.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@99abde39a5a82f31af751791da9997ce89c2ae79/add-subscription-to-community/restrict-tag-2.png)

2. In Shopify Flow, create a workflow and turn it on:

* **Trigger** — **Subscription contract updated**.
* **Condition** — **Subscription contract status** is equal to **CANCELLED**.
* **Action** — **Add customer tags** with the tag you copied in step 1.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@99abde39a5a82f31af751791da9997ce89c2ae79/add-subscription-to-community/flow-workflow-2.png)

||| Important: This workflow adds the restriction tag whenever any subscription in your store is cancelled. If you sell several subscription-based communities or other subscriptions, cancelling any of them will also block the customer's access to this community.

3. To cancel a subscription, open **Subscriptions Plus → Subscriptions**, click **Actions** next to the subscription and select **Cancel subscription**. The workflow adds the restriction tag to the customer, and they lose access to the community.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@99abde39a5a82f31af751791da9997ce89c2ae79/add-subscription-to-community/cancel-subscription-2.png)

|| Please note: Access changes apply within 10 minutes after the tag is assigned.

That's it — your community now sells access by subscription, with recurring payments through Subscriptions Plus and access removed when a subscription is cancelled. If you have any questions, we're always happy to help.

---

In this section:

* [Subscriptions Plus app](https://help.courses-plus.com/en/article/subscriptions-plus-app-32dru1/)
* [Mega Community app](https://help.courses-plus.com/en/article/mega-community-app-ohwf02/)
* [Getting started with Mega Community app](https://help.courses-plus.com/en/article/getting-started-with-mega-community-app-1ccb2c8/)
* [Create a community on Shopify](https://help.courses-plus.com/en/article/community-creation-17i5pgi/)
* [Shopify Flow app integration with Courses Plus](https://help.courses-plus.com/en/article/shopify-flow-app-integration-with-courses-plus-ieoscx/)