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

# SaaS overview

> How the SaaS plugin adds plans, credits, payments, invoices, subscriptions and referrals to MagicBook.

The SaaS plugin turns MagicBook into a paid service. It adds plans, a free tier, credits, subscriptions, payment gateways, invoices and a referral program. Without it, MagicBook has no billing, so every customer uses the site without plan limits.

## Turn it on

**1. Install the plugin**

Open **Platform → Plugins**, find the SaaS plugin and press **Install**. See [SaaS plugin](https://magic-book.mintlify.site/plugins/saas.md).

**2. Enable it**

Open **Platform → General Settings → Plugins**, open the **SaaS Business** card and turn on **Enable SaaS Business**.

**3. Set up the money**

Set the currency and tax on [Finance settings](https://magic-book.mintlify.site/saas/finance-settings.md), the company details on [Invoices](https://magic-book.mintlify.site/saas/invoices.md), and at least one payment gateway.

**4. Make the plans**

Create the plans on [Plans](https://magic-book.mintlify.site/saas/plans.md) and the free tier on [Free tier](https://magic-book.mintlify.site/saas/free-tier.md).

## What changes for customers

* The sidebar gains a **Plans** section with **Billing** and **Referrals**.
* A customer with a plan gets the features and limits of that plan.
* A customer without a plan gets the free tier.
* Every credit spent is checked against the balance, including the plan allowance and credit packs. See [Credits](https://magic-book.mintlify.site/account/credits.md).

## What changes for admins

The sidebar gains the **Finance** section: **Finance Dashboard**, **Pricing Plans**, **Free tier**, **Orders**, **Subscriptions**, **Invoice Settings**, **Payment Gateways** and **Finance Settings**. It also gains an **Affiliates** section for the referral program.

## Pages in this section

* [Plans](https://magic-book.mintlify.site/saas/plans.md) and [Free tier](https://magic-book.mintlify.site/saas/free-tier.md)
* [Prepaid plans](https://magic-book.mintlify.site/saas/prepaid-plans.md) and [Credits](https://magic-book.mintlify.site/saas/credits.md)
* [Subscriptions](https://magic-book.mintlify.site/saas/subscriptions.md) and [Orders](https://magic-book.mintlify.site/saas/orders.md)
* [Finance settings](https://magic-book.mintlify.site/saas/finance-settings.md), [Invoices](https://magic-book.mintlify.site/saas/invoices.md) and [Finance dashboard](https://magic-book.mintlify.site/saas/finance-dashboard.md)
* [Affiliates](https://magic-book.mintlify.site/saas/affiliates.md)
* [Payment gateways](https://magic-book.mintlify.site/gateways/overview.md)


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