> ## 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 plugin

> The SaaS plugin that turns MagicBook into a paid service: what it adds and how to install and enable it.

The SaaS plugin adds billing to MagicBook. It is the plugin behind the **Finance**, **Affiliates** and **Plans** sections of the app.

## What it adds

* **Plans** with prices, credits and limits. See [Plans](https://magic-book.mintlify.site/saas/plans.md).
* A **free tier** for customers without a plan. See [Free tier](https://magic-book.mintlify.site/saas/free-tier.md).
* **Credits** and prepaid credit packs. See [Credits](https://magic-book.mintlify.site/saas/credits.md).
* **Subscriptions**, **Orders** and **Invoices**. See [Subscriptions](https://magic-book.mintlify.site/saas/subscriptions.md).
* **Payment gateways** for Stripe, PayPal and ten more gateways, plus bank transfer and a wallet. See [Payment gateways](https://magic-book.mintlify.site/gateways/overview.md).
* A **referral program**. See [Affiliates](https://magic-book.mintlify.site/saas/affiliates.md).
* **Finance** reports. See [Finance dashboard](https://magic-book.mintlify.site/saas/finance-dashboard.md).

## Install and enable

**1. Install**

Open **Platform → Plugins**, find the SaaS plugin and press **Install**.

**2. Enable**

Open **Platform → General Settings → Plugins → SaaS Business** and turn on **Enable SaaS Business**.

**3. Configure**

Follow the setup list on [SaaS overview](https://magic-book.mintlify.site/saas/overview.md).

Until you enable it, the billing pages stay hidden from customers and the **Finance** section stays hidden from admins.


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