Why Vercel?
Vercel is the company behind Next.js (the framework Kleap apps use):- Global CDN - Fast loading from anywhere
- Automatic HTTPS - Free SSL certificates
- Edge functions - Serverless computing
- Preview deployments - Test before going live
- Zero config - Just works with Next.js
Connecting Vercel
First-Time Setup
- Click Publish on any app
- Click Connect Vercel Account
- Authorize Kleap in the popup
- Connection saved to your account
You only need to connect once. All your apps can then deploy to Vercel.
What Kleap Gets Access To
- Create and manage projects
- Deploy to your account
- Configure domains
- View deployment logs
Deploying Apps
One-Click Deploy
- Open your app in Kleap
- Click Publish
- Wait for build (~30-60 seconds)
- Your app is live!
What Happens During Deploy
- Code is sent to Vercel
- Next.js build runs
- Assets are optimized
- App deployed to CDN
- URL is generated
Deployment URLs
Every deploy creates a URL:| Type | Example | Purpose |
|---|---|---|
| Production | app-name.vercel.app | Main live URL |
| Preview | app-name-git-xyz.vercel.app | Branch previews |
| Custom | myapp.com | Your domain |
Project Settings
Environment Variables
Set in Kleap and synced to Vercel:- Go to Settings > Environment
- Add your variables
- Redeploy to apply
Build Settings
Kleap configures optimal build settings:- Framework: Next.js
- Build command:
next build - Output directory:
.next - Node.js version: 20.x
Vercel Features Used
Automatic HTTPS
All deployments get:- Free SSL certificate
- Automatic renewal
- HTTP → HTTPS redirect
Edge Network
Your app is served from:- 70+ global locations
- Automatic routing to nearest edge
- Sub-100ms response times
Serverless Functions
API routes automatically become serverless functions:- Auto-scaling
- Pay per execution
- 10-second default timeout
Vercel Dashboard
Access your Vercel dashboard to:- View all deployments
- Check build logs
- Monitor usage
- Manage domains
Accessing Dashboard
- Go to vercel.com/dashboard
- Log in with your connected account
- Find your Kleap projects
Free Tier Limits
Vercel’s free tier includes:| Resource | Limit |
|---|---|
| Bandwidth | 100 GB/month |
| Build time | 100 hours/month |
| Serverless executions | 100,000/month |
| Projects | Unlimited |
Upgrading Vercel
If you exceed limits, upgrade on Vercel:- Go to Vercel dashboard
- Select your team/account
- Click Upgrade
- Choose Pro ($20/month)
Troubleshooting
Deployment failed
Deployment failed
- Check build logs in Vercel dashboard
- Look for error messages
- Common issues: missing dependencies, TypeScript errors
Site not updating
Site not updating
- Verify deployment completed
- Clear browser cache
- Check you’re viewing production URL
Environment variables not working
Environment variables not working
- Ensure variables are set for Production
- Redeploy after adding variables
- Check for typos in variable names
Custom domain issues
Custom domain issues
- Verify DNS records are correct
- Wait for propagation (up to 48h)
- Check for SSL certificate status
Disconnecting Vercel
To disconnect your Vercel account:- Go to Settings > Integrations
- Find Vercel
- Click Disconnect
Custom Domains
Connect your own domain to your Vercel deployment

