Importing a Project from GitHub and Your First Automatic Deploy
How to connect a GitHub repository to Vercel in about a minute, check the Node.js settings and get a free SSL certificate.
What you will learn
- Vercel is the platform from the creators of Next.js and is optimised for fast sites.
- One-click import: connect your GitHub account, pick the repository and click Deploy.
- Every "git push" to the main branch automatically triggers a new build and publishes it live, with no manual steps.
- Edge network: your site is automatically distributed to servers around the world.
Steps to connect Vercel
1. Go to vercel.com and sign in with your GitHub account -> 2. Click "Add New Project" -> 3. Choose the repository -> 4. Check "Framework Preset: Next.js" -> 5. Click "Deploy".
Step by step
Install the Vercel CLI to work from the terminal
npm i -g vercelLets you deploy and manage your project straight from the terminal.
Tip from practice
Vercel automatically gives you a free .vercel.app subdomain. You can send it to a client right away as a working prototype before they buy their own domain.