Learning Hubs: your white-label storefront & membership
A hub is the home for everything you sell — courses, memberships, coaching, and digital products — under your own brand and domain. This guide covers building a hub section by section, pricing offers through Stripe, generating a hub with AI, and wiring it into webhooks and email.
16 min read · Updated for the current release
What a hub is
A hub is a branded, white-label site that bundles your courses, offers, collections, and apps into one membership-style experience.
Where a course is a single product, a hub is the storefront and member home around it. It has its own landing page, its own login, its own domain, and its own branding — so to your audience it feels like your platform, not a Mass-hosted page.
A hub is assembled from composable sections, sells access through priced offers, and can gate content behind those offers. You can build one by hand or have AI generate the whole blueprint from a prompt.
Compose the page from sections
Hubs are built from typed sections, each with a layout, so you arrange the page like building blocks.
Add and order sections to shape the hub landing page. Each section has a kind and a layout, plus eyebrow, title, and subtitle text, an independent published flag, and a sort order. Set item_source to auto (populate from a filter) or manual (hand-pick item IDs), and override theme or CTA config per section.
- hero — the masthead at the top of the hub — headline, subtitle, and a primary CTA.
- courses / collections / apps — grids (or lists/carousels) of your courses, curated content collections, and interactive app tiles.
- offers — your priced bundles, rendered as buy-now cards.
- campaigns — email/drip campaigns a member can subscribe to from the hub.
- artifacts — individual generated assets (pages, docs, images) surfaced as items.
- funnel_embed — drop a full funnel/landing page straight into the hub page.
- video_feature / video_grid — a single hero video or a grid of videos.
- testimonials / feature_grid / cta_banner / rich_html — social proof, a benefits grid, a call-to-action band, and a free-form HTML slot.
- Layouts — render most sections as grid, list, carousel, split, or masthead.
Hub assets & content types
Assets are the individual pieces of content you drop into a hub — far beyond just courses.
Each asset is a single row with shared fields — name, description, thumbnail, visibility, published flag, an optional gate, preview seconds, and a CTA override — plus type-specific fields. This is how you build a resource library, a coaching workspace, or a downloads vault inside the hub.
- Core types — link, file, note, video, and embed.
- Rich types — pdf, image, vsl, and doc for polished media and documents.
- Connected types — artifact (a generated asset), funnel_link (point at a funnel), and campaign_ref (link a drip campaign).
- Per-asset gating — any asset can carry a gate and a preview window, so you can tease a locked video for N seconds before the paywall.
Sell access with offers
Offers are the priced bundles published on a hub — they're how money changes hands.
Each offer has a name, slug, headline/subheadline, description, thumbnail, CTA text, and bullet points, plus full Stripe-backed pricing. Offers are created with their items in the same call, so a bundle and its contents go live together.
- Pricing types — one_time, subscription, payment_plan, or free.
- Subscriptions — monthly, quarterly, or yearly intervals with an interval count and optional trial days.
- Compare-at pricing — show a strike-through original price to anchor the deal.
- Stripe-native — each offer maps to a Stripe product and price; checkout, billing, and renewals are handled for you.
Collections & apps
Group content into collections and surface interactive tools as apps.
Collections let you curate sets of content for a section to display — a 'Start here' track, a bonus library, a resource pack. Apps surface interactive tools inside the hub so members do work in-place, not just consume. Both can be hand-picked into manual sections or pulled automatically into auto sections.
Gates & access rules
Gates are the rules that decide who sees what — they're how a hub stays both open at the top and paid underneath.
Attach a gate to any section or asset and the server resolves it per visitor, with tenant admins always allowed through so they can preview their own hub. Each gate carries a reason, optional description, CTA label, and price label for the overlay.
- auth — must be signed in.
- member — must have an accepted hub membership.
- offer — must own a specific offer — the overlay opens an inline checkout for it.
- course_access — must have access to a linked course.
- campaign_subscribe — must be enrolled in a linked campaign.
- email_capture — unlocks after submitting a lead-magnet form.
- external_upsell — never unlocks in-hub; the CTA sends the visitor to an outbound upsell.
Members, invites & roles
Members are the people with access to a hub — invite them by email and manage them from the admin.
When someone purchases an offer or is invited, a membership is created. You can also invite directly by email: existing users are added immediately, while new emails get an invite link (magic-link friendly) and are accepted on first sign-in.
- Roles — member for normal access, and client_admin for a delegate who can manage the hub's members.
- Manage members — admins and client_admins see a 'Manage members' entry in the hub for invites and role changes.
- Member portal — signed-in members get an overview with their campaigns, per-course progress rollups, and a resume experience across courses.
Theming & branding
A hub carries its own theme, and the courses inside it inherit that theme unless they pin their own.
Set the hub's look once and it cascades. The hub theme drives the member experience, while a separate sales theme styles the marketing/sales page. Auth pages have their own layout options (for example a split layout with a side image) so sign-in matches your brand.
- Inherited theme — courses fall back to the hub theme when they don't set one — consistent look with zero per-course work.
- Sales themes — pick a sales-page theme (e.g. sunset, tech) so the marketing surface is designed on first paint.
- Auth layouts — choose the sign-in layout and side image to keep the login on-brand.
Generate a hub with AI
Describe the hub you want and Mass returns a complete blueprint — sections, offers, and copy — ready to publish.
The hub-blueprint generator takes a free-text prompt (optionally a pasted curriculum and a category hint like course, coaching, membership, cohort, library, or agency) and produces a structured template: a name, tagline, highlights, hub auth settings, and an ordered set of sections. It can also generate section imagery in styles like editorial, lifestyle, hero, minimal, or photorealistic.
AI blueprints reuse the real insert path
An AI-generated blueprint returns the same shape as a hand-built one, so applying it seeds real hub_sections, offers, collections, apps, gates, and campaigns — not a throwaway preview.
Start from a template
Pre-built hub templates seed a complete, working hub — sections, offers, collections, apps, gates, and campaigns — in one click.
Rather than an empty shell, pick a template that matches your model and tailor it. Templates ship as declarative blueprints across the same categories the AI generator understands, with sales-page defaults so the marketing surface is designed from the first paint.
- Categories — course, coaching, membership, cohort, library, and agency.
- Coaching hub — self-paced training plus booking and async notes — signup off, magic-link on, split auth layout.
- Cohort bootcamp — a time-boxed, live-weekly structure with handouts and replays.
- Fully editable — every seeded row is a normal hub row you can edit, reorder, or delete afterward.
White-label auth & branding
Members sign in on your brand, on your domain — Mass stays invisible.
- Custom auth pages — set the auth headline and subheadline, your logo, and the page layout for sign-in/sign-up.
- Magic link & signup control — toggle magic-link login and whether new signups are allowed.
- Terms & privacy — link your own terms and privacy so the legal surface is yours.
- Custom domains — serve the entire hub from your own domain for a fully owned experience.
Webhooks & email triggers
Hub events fire webhooks and emails so the rest of your stack reacts automatically.
Hubs emit structured events you can subscribe to and act on, both via outbound webhooks and the built-in email/automation triggers.
- enrollment.created — fires when someone gains access — kick off onboarding.
- offer.purchased / offer.refunded — react to revenue and reversals in real time.
- lesson.completed / course.completed — drive progress-based nudges, upsells, and certificates.
Routing, sales pages & showcase
Each hub gets a slug, a member portal, a sales page, and an optional spot in a curated public showcase.
A hub lives at its own slug under your learning area, with draft and published states so you can stage before going live. Members land in the portal; visitors hit the marketing sales page designed to convert them into buyers. Curated hubs can also be surfaced in a public showcase for discovery.
Combine routing, offers, gates, white-label auth, and your own domain, and a hub is a complete, self-contained business you run on Mass.