saasfast-gating

Deploy Stripe checkout and Supabase auth gating for web applications.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SMOrchestra-ai/smorch-brain --skill saasfast-gating
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saasfast-gating
Source: https://github.com/SMOrchestra-ai/smorch-brain/tree/main/skills/tools/saasfast-gating
Command: npx skills add https://github.com/SMOrchestra-ai/smorch-brain --skill saasfast-gating

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates wrapping an existing web app with an out-of-the-box payment and authentication gating layer so creators can monetize HTML sites, dashboards, or assessment tools without rebuilding the original app.

Core Features & Use Cases

  • Landing Page + Checkout: Adds a branded landing page and Stripe checkout flow that supports guest and authenticated purchases.
  • Auth & Access Control: Integrates Supabase magic-link (and optional Google OAuth) and enforces access via a single source of truth profiles.has_access boolean.
  • Webhook-driven Provisioning: Creates or links users from Stripe webhooks, sets has_access on successful payment, and handles guest or client_reference_id flows.
  • Deployment and Configuration Checklist: Guides domain/resend verification, Supabase site and SMTP setup, Stripe webhook subscription, environment variables, and nginx/pm2 deployment steps.
  • Use Case: Turn a static assessment site into a subscription product by copying HTML into content-html, configuring price IDs and Supabase, and deploying the SaaSFast gating repo.

Quick Start

Gate the target repo by deploying SaaSFast v3 with the given Stripe price ID, Supabase project credentials, and production domain so paid users receive access via profiles.has_access.

Frequently Asked Questions about saasfast-gating

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Stripe payment gating to an existing web app?

You can gate static HTML sites, dashboards, and assessment tools by wrapping them with a payment and authentication layer. The system uses Stripe checkout and Supabase auth to provision paid users and restrict access to your existing content.

How does webhook-driven user provisioning work for Stripe guest checkouts?

Webhook-driven user provisioning creates or links users from Stripe webhooks, setting the profiles.has_access boolean to true upon successful payment. It automatically handles guest checkout flows and client_reference_id mapping to grant access.

Can I use Supabase magic-link and Google OAuth for payment gated content?

Yes, the gating layer integrates Supabase magic-link and optional Google OAuth for authentication. Access is enforced through a single source of truth profiles.has_access boolean that determines whether users can view gated content.

What is the best way to deploy a Nextjs subscription product with Supabase and Stripe?

The best way is to configure Stripe price IDs, Supabase project credentials, and production-domain settings for correct callbacks. A deployment checklist guides domain verification, Supabase site setup, environment variables, and nginx/pm2 deployment steps.

Do I need to rebuild my static HTML site to add subscription authentication?

No, you do not need to rebuild your static HTML site. You can monetize it by copying the HTML into the content-html directory, configuring Stripe price IDs and Supabase credentials, and deploying the gating repository to wrap the existing app.