Vercel
Deploy your App2 projects to production with automatic builds. Connect your Vercel account for professional hosting, custom domains, and continuous deployment.
Written By Nick Gatzoulis
Last updated 4 months ago
What is Vercel integration?
Vercel integration connects your App2 workspace to your Vercel account, enabling production deployments with automatic builds on every code change.
What Vercel provides:
Production hosting: Fast, global CDN
Automatic deployments: Build on every GitHub push
Custom domains: Use your own domain names
Preview URLs: Test before going live
Environment variables: Secure configuration management
Analytics: Performance and visitor insights
How integration works:
Add Vercel team credentials to your workspace
Link App2 project to Vercel
Code changes trigger automatic deployments
Get production URL instantly
Note: Vercel integration requires Pro subscription and user-owned GitHub repository (not App2-managed).
Why connect Vercel?
Vercel transforms your App2 projects into production-ready applications.
With Vercel, you get:
Professional hosting:
Fast global CDN
99.99% uptime
Automatic HTTPS
Optimized builds
Edge network
Automatic deployments:
Deploy on every code change
No manual deployment steps
Build logs and status
Rollback to previous versions
Custom domains:
Use your own domain (app.yourdomain.com)
Professional branding
SSL certificates included
Multiple domains supported
Environment management:
Secure environment variables
Development vs production configs
Team collaboration
API key management
Prerequisites
Before connecting Vercel:
Pro subscription: Vercel integration requires Pro or Lifetime tier ($25/month minimum)
Vercel account: Free or paid account at vercel.com
User-owned GitHub repository: Must migrate from App2-managed to your GitHub org (Pro feature)
Vercel team: Personal or team account in Vercel
API token: Generated from Vercel dashboard
Workspace role: Owner or Admin permissions
Important: Vercel requires user-owned GitHub repositories. If your project uses App2-managed GitHub repo, migrate it to your GitHub account first.
Setup steps
Step 1: Get Vercel credentials
Find your Team ID and create an API token.

Finding Team ID:
Log into vercel.com/dashboard
Select your team
Go to Settings β General
Copy Team ID (or use personal account ID)
Creating API token:

Go to Account Settings β Tokens
Enter token name (e.g., "App2 Integration")
Select scopes (choose your team scope)
Set expiration (or no expiration)
Click "Create"
Copy token immediately (shown once)
Tip: Create scoped tokens for better security. Limit to specific teams if you have multiple.
Step 2: Add Vercel team to workspace
Add your Vercel team credentials to your App2 workspace.
Go to Workspace Settings β Integrations β Vercel
Click "Add Vercel Team"
Enter Team ID from Step 1
Enter API Token from Step 1
Click "Validate and Save"
App2 validates your credentials with Vercel.
Success indicators:
Team name appears
"Configured" status shown
Green indicator
Step 3: Link project to Vercel
Deploy your App2 project to Vercel.
Requirements:
Project must have user-owned GitHub repository
If using App2-managed repo, migrate to your GitHub first
Linking process:
Open your App2 project
Go to Project Settings β General β Vercel Deployments
Select Vercel team from dropdown
Click "Link Vercel deployment"
Wait for setup (~30 seconds)
What happens:
vercel.jsonadded to your repositoryVercel project created in your team
Code pushed to GitHub
First deployment triggered
Production URL assigned
Step 4: Wait for first deployment
Vercel builds and deploys your project.
Build process:
Vercel detects framework (Vite or Expo)
Installs dependencies
Builds production bundle
Deploys to edge network
Assigns production URL
Timeline:
Web projects (Vite): 2-5 minutes
Mobile projects (Expo): 3-7 minutes
Deployment complete:
Production URL available
Visit deployment to test
Configure custom domain (optional)
Managing teams
Viewing teams
See all Vercel teams connected to your workspace.
Where to view:Workspace Settings β Integrations β Vercel
What you'll see:
Team names
Team IDs
Linked projects count
Configuration status
Multiple teams
Workspaces can connect multiple Vercel teams.
Why multiple teams:
Separate personal and company accounts
Different teams for different projects
Client-specific Vercel accounts
Development vs production teams
Example:
Team 1: Personal Vercel account (side projects)
Team 2: Company Vercel team (client work)
Team 3: Client's Vercel account (direct deployment)
Updating API tokens
Rotate Vercel API tokens for security.
How to update:
Go to Workspace Settings β Integrations β Vercel
Find team to update
Click "Edit" or "Update token"
Enter new API token
Click "Validate and Save"
When to update:
Token expired
Security best practice (periodic rotation)
Token compromised
Changing team ownership
Removing teams
Delete Vercel teams you no longer need.
How to remove:
Verify no projects link to this team
Go to Workspace Settings β Integrations β Vercel
Find team to remove
Click "Delete" or "Remove"
Confirm deletion
What gets deleted:
Team configuration in App2
Encrypted API token
What stays:
Your Vercel account (unchanged)
Vercel projects (remain in Vercel)
Deployments (continue running)
Linking projects
Requirements for linking
Before you can link:
GitHub repository must be user-owned (not App2-managed)
Project must be in Ready status
Vercel team must be configured in workspace
If using App2-managed repo:
Go to Project Settings β GitHub Repository
Migrate to your own GitHub organization
Wait for migration (~1 minute)
Then link to Vercel
One team per project
Rule: Each project links to one Vercel team at a time.
Why:
Clear deployment target
No configuration conflicts
Single source of truth
To switch teams:
Unlink current team
Link different team
Vercel project recreated
Automatic deployments
Vercel automatically deploys your project when code changes.
Deployment triggers:
AI generates code in App2
Code synced to GitHub
GitHub webhook notifies Vercel
Vercel builds and deploys
Production URL updates
Build process:
Install dependencies (npm install)
Run build command (npm run build)
Optimize assets
Deploy to edge network
Deployment status:
View in Vercel dashboard
Build logs available
Success/failure notifications
Rollback options
Preview vs production:
Production: Main branch deployments
Preview: Branch and PR deployments
Custom domains
Add your own domain name to Vercel deployments.
Overview:
Configure in Vercel dashboard
DNS setup at your registrar
Automatic SSL certificates
Multiple domains supported
Complete guide: See Custom Domains for detailed instructions on:
Adding domains
DNS configuration
Verification process
SSL certificates
Troubleshooting
Best practices
Deployment strategy
Development workflow:
Build features in App2
Test in App2 preview
Code automatically syncs to GitHub
Vercel deploys to production
Test production deployment
Share production URL
Branch strategy:
Main branch β Production
Feature branches β Preview deployments
Test before merging to main
Security
Protect your deployments:
Use scoped API tokens
Rotate tokens periodically
Monitor Vercel dashboard
Review deployment logs
Set up environment variables properly
Environment variables:
Store secrets in Vercel dashboard
Never commit to git
Use different values for dev/prod
Reference in code via
process.env
Team management
Multiple teams:
Use personal team for side projects
Company team for client work
Client teams for direct deployment
Clear naming conventions
Performance
Optimize builds:
Minimize bundle size
Enable Vercel analytics
Monitor build times
Use caching effectively
Troubleshooting
Can't add Vercel team (not Pro)
Issue: Vercel integration settings show upgrade prompt.
Solution: Vercel integration requires Pro subscription ($25/month). Upgrade to access deployment features.
Can't link Vercel (App2-managed GitHub repo)
Issue: "Link Vercel deployment" button disabled or error shows.
Solution: Vercel requires user-owned GitHub repository. Go to Project Settings β GitHub Repository and migrate to your own GitHub organization first (Pro feature).
Vercel team validation failed
Issue: "Invalid credentials" error when adding team.
Solutions:
Verify Team ID is correct (from Vercel Settings β General)
Check API token is valid and not expired
Ensure API token has proper scopes
Generate new API token if needed
Verify you have access to the team
Deployment failed
Issue: Build fails or deployment errors.
Solutions:
Check build logs in Vercel dashboard
Verify
vercel.jsonconfigurationEnsure dependencies are correctly specified
Check environment variables are set
Review error messages in Vercel
Production URL not updating
Issue: Code changes in App2 but production site doesn't update.
Solutions:
Verify Vercel project is linked
Check GitHub sync is working
Review deployment status in Vercel
Wait for build to complete (2-7 minutes)
Check Vercel build logs for errors
FAQ
Can Free tier users use Vercel?
No. Vercel integration requires Pro subscription ($25/month). Additionally, it requires user-owned GitHub repository, which is also a Pro feature.
Do I need to pay for Vercel separately?
Vercel has its own pricing. Check vercel.com/pricing for current plans. Vercel offers a generous free tier for personal projects.
Can I use one Vercel team for multiple projects?
Yes. One Vercel team can deploy multiple App2 projects. Each project gets its own Vercel deployment.
What if my Vercel API token expires?
Projects stop deploying. Update the API token in App2 workspace settings to restore deployment functionality.
Can I deploy without Vercel?
Yes. Your code is in GitHubβdeploy anywhere you want (Netlify, AWS, self-hosted, etc.). Vercel integration is optional.
How do I add custom domains?
Link Vercel first, then add custom domains in Vercel dashboard. See Custom Domains for complete guide.
Will Vercel deployments consume App2 credits?
No. Deployments are handled by Vercel. You pay Vercel directly for hosting. App2 credits are only for AI code generation.
Can I have different Vercel teams for different projects?
Yes. Link different projects to different Vercel teams. Useful for client work or separating personal/company deployments.
What happens to deployments if I disconnect Vercel?
Existing deployments continue running in Vercel. New code changes won't deploy automatically until you reconnect.
Can I manage deployments in Vercel dashboard?
Yes. Full access to Vercel dashboard for builds, domains, analytics, settings, and environment variables.
Related links
Custom Domains - Add your own domain
GitHub Integration - Required for Vercel
Projects - Linking deployments
Plans and Credits - Pro subscription