> For the complete documentation index, see [llms.txt](https://docs.paywithflash.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paywithflash.com/products/editor/getting-started/create-a-subscription-plan.md).

# Create a Subscription Plan

## **Create Your First Subscription Plan**

The first step in using Flash subscriptions is creating a subscription plan. Flash provides a simple interface for setting up subscription plans, which you can share with users via a checkout URL, or even embed directly into your website.

Here’s a quick overview of what you can do:

1. **Create Subscription Plans:** Set up multiple subscription tiers with different pricing options.
2. **Embed Checkout Pages:** Use the subscription plan URL to redirect users to the payment page or embed it on your platform for a seamless experience.
3. **Manage Payments:** Track recurring payments and stay updated with webhook notifications.

Once your subscription is created, you will get:

* A **checkout URL** to share or embed.
* A **secret key** to authenticate webhook messages for real-time updates.

## **Follow this guide to create your first subscription:**

{% embed url="<https://scribehow.com/shared/Create_a_Subscription_Plan__UqqbUBOBTYKBmkdMOVmZtw>" %}

## **Use Cases After Setup**

After creating your subscription, you’ll be ready to:

* **Use the Flash Subscription API:** Retrieve subscription details, manage cancellations, and more.
* **Set up Webhook Integration:** Stay notified about key subscription events like sign-ups, renewals, and payment failures by integrating with our webhook system.

***

## **Next Steps:**

* **Prefill user detail:** Redirect users with more invormation to improve user experience
* **Authenticate**: Learn how to authenticate with the Subscription API.
* **Endpoints**: Review available API endpoints for managing subscriptions.
* **Webhooks**: Get real-time notifications for subscription events.

***

## **Embedding & Redirecting**

Once you have created your subscription, you can easily embed the checkout page or redirect users to it. This provides a seamless experience for users to subscribe to your service without needing to sign in beforehand. Simply copy the generated checkout URL and use it as needed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.paywithflash.com/products/editor/getting-started/create-a-subscription-plan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
