clerk-deploy-integration

Featured

Configure Clerk for deployment on various platforms. Use when deploying to Vercel, Netlify, Railway, or other platforms, or when setting up production environment. Trigger with phrases like "deploy clerk", "clerk Vercel", "clerk Netlify", "clerk production deploy", "clerk Railway".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Clerk Deploy Integration ## Overview Deploy Clerk-authenticated applications to Vercel, Netlify, Railway, and other hosting platforms. Covers environment variable configuration, domain setup, and webhook endpoint configuration. ## Prerequisites - Clerk production instance with `pk_live_` / `sk_live_` keys - Production domain configured - Hosting platform account ## Instructions ### Step 1: Vercel Deployment ```bash # Add Clerk env vars to Vercel vercel env add NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY production # Paste: pk_live_... vercel env add CLERK_SECRET_KEY production # Paste: sk_live_... vercel env add CLERK_WEBHOOK_SECRET production # Paste: whsec_... # Add for preview deployments too vercel env add NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY preview vercel env add CLERK_SECRET_KEY preview ``` Configure Clerk Dashboard for Vercel: 1. Go to **Dashboard > Domains** and add your production domain 2. Set **Home URL**: `https://myapp.com` 3. Set **Sign-in URL**: `https://myapp.com/sign-in` 4. Set **Sign-up URL**: `https://myapp.com/sign-up` 5. Set **After sign-in URL**: `https://myapp.com/dashboard` ### Step 2: Netlify Deployment ```bash # Add env vars via Netlify CLI netlify env:set NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY pk_live_... netlify env:set CLERK_SECRET_KEY sk_live_... ``` For Netlify Functions (serverless API routes): ```typescript // netlify/functions/clerk-auth.ts import { createClerkClient } from '@clerk/backend' const clerk = createClerkClient({ secretKey: process.env.C...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category