
GoHighLevel — 3 pages: Paywall, Access, No Access
Supabase — stores approved users and handles login
Resend — powers the magic-link emails
GHL — use your existing account or click here
Supabase — free for up to 50K monthly active users
Resend — free for up to 3,000 emails per month
The GoHighLevel affiliate link is mine, but I have no affiliation with Supabase or Resend
Build the Payment, Access, and No Access pages in GHL.
Create a Supabase project and save the Project URL and Publishable Key.
Enable email magic-link authentication and set the Access page as the Site URL and Redirect URL.
Create the approved_users table with email, active, and Row Level Security enabled.
Make email unique and add the RLS policy so authenticated users can only see their own active approval.
Create the approve_user Edge Function that adds successful buyers to approved_users.
Create the private ACCESS_WEBHOOK_SECRET and turn Verify JWT off for the Edge Function.
Test the Edge Function directly until it returns 200 / success.
In GHL, create a Payment Received workflow filtered to the correct product and Payment Status = Success.
Add a POST Custom Webhook from GHL to the approve_user function using the x-access-secret header.
Test the GHL workflow and confirm the buyer appears in approved_users with active = true.
Create a Resend account, add your sending domain, and wait for the DNS records to verify.
Connect Resend SMTP to Supabase so Supabase can send the magic-link emails.
Add the Supabase magic-link gate code to the GHL Access page using the Publishable Key.
Configure the gate so approved users get access and non-approved users are signed out and redirected to the No Access page.
Test a new buyer, returning buyer, non-buyer, shared link, and failed payment in an incognito browser.
Digital Books
PDF Downloads
Video Lessons
Private Pages
Resource Libraries
Embedded Tools
Templates
Client Resources
Subscriber Content
Get instant access to my Custom GPT + the Knowledge Base File behind it.
The GPT was built for one purpose:
Help you build this exact protected GHL access system faster.
It can walk you through the setup step by step, help troubleshoot problems, and tell you what to do next from screenshots.
Prefer your own AI?
Download the same Knowledge Base File and upload it into ChatGPT, Claude, or another LLM.
It's all behind this paywall.
Best part: if you want to see the system in action, you’ll go through the exact buyer/login process yourself after purchase.

You'll find more step-by-step instructions, but most importantly, you'll have access to a GPT that is trained to do one thing—24/7.

This GPT was built specifically to help you create this GHL paywall system.
Tell it where you are in the process by uploading screenshots, and let it walk you through the next step.
Writes the code you need
Troubleshoots errors
Helps customize it to your brand
The Knowledge Base contains the setup, code, structure, and troubleshooting information behind the GPT.
Download it if you want your own ChatGPT, Claude, or another capable AI to help you build the system.
Use it with your preferred AI
Customize your own permanent copy
Hand over to your VA
No. You’ll mostly copy, paste, take screenshots, and let the GPT or your preferred AI walk you through the setup.
Access to the custom GPT plus the Knowledge Base File used to train it. Either of these things is designed to keep the AI on task and walk you through the exact setup. The GPT is ready to use. The Knowledge Base file needs to be uploaded with the prompt we give you to any LLM.
If your GHL checkout and domain are already in place, plan on roughly 1-2 hours.
Yes. The GPT can help you Yes. The GPT can help you customize the branding, copy, image, colors, and email messaging. the branding, copy, image, colors, and email messaging.
Yes. Approved users are managed in Supabase.
You can start with both for $0/month.
Supabase Free: up to 50,000 monthly active users. Free projects can pause after about a week of inactivity; Pro currently starts at $25/month and does not pause for inactivity.
Resend Free: up to 3,000 emails/month with a 100-email/day limit. Pro currently starts at $20/month for 50,000 emails with no daily limit.
For a small digital-product business, the free tiers should provide plenty of room to get started.
Yes. Your products, prices, coupons, order bumps, payment methods, receipts, and other normal GHL features keep working as usual.
Yes. You can create multiple Supabase projects for different funnels.
If you use the same Supabase project across multiple funnels, access will be shared across those funnels. If you want access kept separate, use a separate Supabase project.
The GPT is trained on the setup and the problems encountered while building it, so you can give it screenshots or error messages and have it help troubleshoot the system step by step.