What problem does it solve? Adding subscription monetization to a Next.js app with Clerk auth requires coordinating dashboard configuration, pricing UI, entitlement checks, and webhook lifecycle events, and mistakes like wrong plan tabs or stale sessions cause silent failures. ## Core Features & Use Cases - Pricing and Checkout UI: Render <PricingTable /> and <CheckoutButton /> to display plans and open Clerk's in-app checkout drawer for B2C users or B2B organizations. - Plan and Feature Gating: Protect routes, pages, and API endpoints with has({ plan }) and has({ feature }) checks from auth() or useAuth(). - Billing Webhooks: Handle all 16 Clerk billing events (subscription.created, subscriptionItem.canceled, subscriptionItem.pastDue, etc.) with verified payloads to sync subscription state to your database. - Use Case: A B2B SaaS needs seat-limited organization plans. Create tiered org plans in the Clerk Dashboard, render <PricingTable for="organization" />, gate team routes with has({ plan: 'org:team' }), and let Clerk enforce membership caps at invite time. ## Quick Start Ask the AI to add a pricing page with Clerk's PricingTable and protect a Pro-only dashboard route using plan checks.