> ## Documentation Index
> Fetch the complete documentation index at: https://magic-post.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SaaS overview

> Turn on billing in MagicPost, see what it switches on for admins and users, and set up the free tier, plans and payments in the right order.

MagicPost can run as a paid service. Billing ships as the **SaaS Business** plugin. When the plugin is installed and switched on, you can sell subscription plans and prepaid credit packs, take payments through the gateways you configure, issue invoices and run a referral program. When it is off, MagicPost has no plan limits at all.

## What SaaS Business adds

The plugin adds two sections to the admin sidebar and two pages to the user sidebar.

| Where | Menu item | What it is for | Guide |
| - | - | - | - |
| Admin, **Finance** | Finance Dashboard | Revenue, orders, subscriptions and gateway results | [Finance dashboard](https://magic-post.mintlify.site/saas/finance-dashboard.md) |
| Admin, **Finance** | Pricing Plans | Create and edit plans | [Subscription plans](https://magic-post.mintlify.site/saas/plans.md), [Prepaid plans](https://magic-post.mintlify.site/saas/prepaid-plans.md) |
| Admin, **Finance** | Free tier | Limits for users without a plan | [Free tier](https://magic-post.mintlify.site/saas/free-tier.md) |
| Admin, **Finance** | Orders | Every payment, bank transfer approvals | [Orders and transactions](https://magic-post.mintlify.site/saas/orders.md) |
| Admin, **Finance** | Subscriptions | Who is subscribed to what | [Subscriptions](https://magic-post.mintlify.site/saas/subscriptions.md) |
| Admin, **Finance** | Invoice Settings | Seller details printed on invoices | [Invoices](https://magic-post.mintlify.site/saas/invoices.md) |
| Admin, **Finance** | Payment Gateways | Stripe, PayPal and the others | [Payment gateways](https://magic-post.mintlify.site/gateways/overview.md) |
| Admin, **Finance** | Finance Settings | Currency, tax and billing details | [Finance settings](https://magic-post.mintlify.site/saas/finance-settings.md) |
| Admin, **Affiliates** | Accounts, Earnings, Payouts | The referral program | [Referral program admin](https://magic-post.mintlify.site/saas/affiliates.md) |
| User, **Plans** | Billing, Referrals | Plan selection, billing history, referral link | [Billing and subscription](https://magic-post.mintlify.site/account/billing.md), [Referrals](https://magic-post.mintlify.site/account/referrals.md) |

The public home page also gets a **Pricing** section that lists your active plans. Credits are covered in [Credits and allowances](https://magic-post.mintlify.site/saas/credits.md).

## Turn on SaaS Business

**1. Install the plugin**

Open **Plugins** in the **Platform** section of the admin sidebar and find **SaaS Business**. If the card does not show **Installed**, click **Install**. Depending on the listing and your license, the button reads **Install**, **Install · Extended** or **Buy Now**. See [Plugins and themes](https://magic-post.mintlify.site/admin/plugins-and-themes.md).

**2. Open the plugin settings**

Go to **General Settings** in the **Platform** section, open the **Plugins** tab and click the **SaaS Business** card. The card only appears once the plugin is installed.

**3. Enable billing**

Switch on **Enable SaaS Business** and click **Save**. The switch description reads: when enabled, billing, plans, subscriptions and referral features become available across the platform.

**4. Reload the admin panel**

The **Finance** and **Affiliates** sections now appear in the sidebar, and users see **Billing** and **Referrals** under **Plans**.

> [!NOTE]
>
> Both conditions must hold. The sidebar sections, the pricing section and the billing pages show only when the plugin is installed and **Enable SaaS Business** is on.

## What changes for your users

When billing is on, MagicPost decides what each person may do from the first rule that matches.

| Who | What applies |
| - | - |
| An admin account | No limits, every feature on. |
| A user with an active Monthly, Yearly or Lifetime subscription | The limits, features and networks of that plan. If a user has more than one active subscription, the most recently started one applies. |
| Everyone else: no subscription, an expired or cancelled one, or only a prepaid pack | The [free tier](https://magic-post.mintlify.site/saas/free-tier.md). |

Prepaid plans never change limits or features. They only add credits. See [Prepaid plans](https://magic-post.mintlify.site/saas/prepaid-plans.md).

When billing is off, nobody is limited: every limit is unlimited and every feature is on, except **Watermark-free**, which stays off.

> [!WARNING]
>
> Switching **Enable SaaS Business** off does not delete plans, orders or subscriptions, but it removes every limit for every user, paying or not. Turn it off only when you really want an unrestricted install.

## Plan types

| Type | How it is paid | Credits |
| - | - | - |
| Monthly | Renews every month | The allowance is renewed each month |
| Yearly | Renews every year | The allowance is renewed each month |
| Lifetime | One payment | The allowance is renewed each month |
| Prepaid | One payment | Added once to a separate balance and kept until used |

## Recommended setup order

**1. Set the currency and tax**

Open **Finance Settings** and choose the default currency, tax rate and whether checkout asks for billing details. See [Finance settings](https://magic-post.mintlify.site/saas/finance-settings.md).

**2. Add your company details**

Fill in **Invoice Settings** so invoices carry your business name and address. See [Invoices](https://magic-post.mintlify.site/saas/invoices.md).

**3. Enable a payment gateway**

Configure at least one gateway under **Payment Gateways**. Start with [Payment gateways](https://magic-post.mintlify.site/gateways/overview.md).

**4. Set the free tier**

Decide what users get before they pay. A new install allows 0 connected channels, so users without a plan cannot connect any account until you raise it. See [Free tier](https://magic-post.mintlify.site/saas/free-tier.md).

**5. Create your plans**

Add the subscription and prepaid plans you want to sell under **Pricing Plans**. See [Subscription plans](https://magic-post.mintlify.site/saas/plans.md).

**6. Set the registration credits and AI costs**

Choose how many credits new users receive and what each AI run costs. See [Credits and allowances](https://magic-post.mintlify.site/saas/credits.md).

> [!TIP]
>
> Credits, allowance refreshes and expired holds depend on the scheduler. Make sure the cron job from [Cron and queue](https://magic-post.mintlify.site/installation/cron-and-queue.md) is running.

## Next steps

> [card] [Subscription plans](https://magic-post.mintlify.site/saas/plans.md)
>
> Every field on the plan form, explained.

> [card] [Free tier](https://magic-post.mintlify.site/saas/free-tier.md)
>
> What users get without a plan.

> [card] [Credits and allowances](https://magic-post.mintlify.site/saas/credits.md)
>
> How AI credits are granted, held and spent.

> [card] [Payment gateways](https://magic-post.mintlify.site/gateways/overview.md)
>
> Connect Stripe, PayPal and other providers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.