- GitHub Import (Recommended)
- Vercel CLI
1
Push Your Code to GitHub
Make sure your local Lynkz clone is pushed to a GitHub repository. If you haven’t done this yet:
2
Import the Project on Vercel
Go to vercel.com and sign in. From your dashboard, click Add New → Project. Select Import Git Repository, then find and select the GitHub repo you just pushed.
3
Add Environment Variables
Before clicking Deploy, expand the Environment Variables section. Add every variable from your
.env.local file here. Pay special attention to:- All six
NEXT_PUBLIC_FIREBASE_*keys FIREBASE_SERVICE_ACCOUNT_KEY(paste the full JSON string)RESEND_API_KEYandRESEND_FROM_DOMAIN(if using magic links)NEXT_PUBLIC_APP_URL(set to your Vercel deployment URL or custom domain)
4
Deploy
Click Deploy. Vercel builds your Next.js app and provisions the serverless functions. When the build finishes, your Lynkz instance is live at the generated
.vercel.app URL.After adding or updating environment variables in Vercel, you must redeploy your project for the changes to take effect. You can trigger a redeploy from the Vercel dashboard under Deployments → Redeploy, or by pushing a new commit to your connected GitHub branch.
Custom Domain
Lynkz does not have a built-in custom domain feature, but you can point any domain you own to your Vercel deployment. In your Vercel project, go to Settings → Domains, add your domain, and follow the DNS instructions. Once your domain is pointing to Vercel, all Lynkz pages — including public pages at/username — work automatically under your domain. Update NEXT_PUBLIC_APP_URL to your custom domain and redeploy.