# Vercel

> Publish a website from your code project and get preview links so you can try proposed changes before they go live.

Web page: https://buildladder.com/tools/vercel

Suppose you’ve redesigned a pricing page and want a teammate to check it. When you connect the project to Vercel, it can build a preview for the proposed change. Your teammate can open that version at its own address.

Send the preview link and ask them to follow a specific path, such as choosing a plan on a phone. Once you’re happy with the change, publish through your project’s production branch and check the same path on the main site.

- Made by: Vercel
- Official site: https://vercel.com
- Cost: Free Hobby plan for personal, non-commercial projects. Pro is $20 a month per developer seat, checked on 2026-11-09.
- What you need first: A Vercel account. A GitHub or GitLab account helps.
- Who it helps: When your website or web app uses Next.js, or another framework Vercel can find in your code by itself.
- When to skip it: If your site sells something, shows ads or is for a business, and you don’t want to pay for Pro.
- Updated: 2026-11-10

## Put your site online with Vercel

Put your website online with Vercel, straight from GitHub or GitLab. Each change you push then goes online by itself.

What you’ll end up with: Your site is online at a .vercel.app address. It updates each time you push to GitHub or GitLab, and can use your own domain.

### You’ll need

- A website that works on your computer.
- Your code saved on GitHub or GitLab.
- PLAN.md from the “Plan your idea” guide.
- Your .env file, if your product uses keys.
- A phone to check the live site.
- A domain you bought, only if you want your own address. Domains, under Concepts, explains whether you need one.
- GitHub or GitLab account (https://github.com): The free plan is enough
- Vercel account (https://vercel.com): Free to create

### Your part

- Create the Vercel account and connect GitHub or GitLab.
- Type your secret keys into Vercel’s settings.
- Add DNS records where you bought your domain, if you connect one.

### Step 1 of 5: Check your product before you put it online

Read PLAN.md in this folder. I want to put this product online with Vercel. My code is already saved on GitHub or GitLab, and Vercel will put it online from there.

If this folder isn’t connected to a GitHub or GitLab repository yet, stop and tell me. I’ll save it there first.

Check my product:
- Make sure .env and any other files with keys or passwords are listed in .gitignore, so Git never uploads them.
- Look through my saved Git history for keys or passwords saved earlier. If you find any, stop and explain. Those keys must be replaced with new ones first.
- Check that the product still builds and runs on my computer.
- Check Vercel’s current official docs for anything my framework needs to work there. Tell me before you change anything, and keep everything that already works.

If you change anything, ask me before you save a commit and push it.

Finally, list every environment variable my product needs. Show only the names, never the values. For each one, say whether it’s public (safe to show in the browser) or secret, and what it’s for.

It worked when: You have a list of the setting names your product needs, and your saved code holds no keys.

Before we move on, check with me:
- Open your repository on GitHub or GitLab. Is .env missing from the file list?

Keep for later: You need the list of setting names in “Add your secret settings”.

If something goes wrong:
- Your AI tool says the folder isn’t on GitHub or GitLab yet. Save your code to GitHub or GitLab first. Their tool pages have the steps. Then do this step again.
- Your AI tool found a key in your saved history. Make a new key in that service’s dashboard and delete the old one. Then ask your AI tool to help remove the old key from the history.

### Step 2 of 5: Create your account and connect your repository

This step is mine to do. Walk me through it, one action at a time:
- Go to vercel.com and sign up. Choose to sign up with GitHub or GitLab, whichever holds your code, so the two accounts connect.
- If it asks for a plan, choose Hobby only for personal, non-commercial use. Business use needs Pro, even before your first sale.
- From your dashboard, open the option that creates a new project, then choose to import a code repository.
- If Vercel asks you to connect a Git account, pick GitHub or GitLab and sign in there.
- If GitHub asks what Vercel may see, you can allow just this one repository. On GitLab, you need to be the project’s Owner or a Maintainer.
- Under Import Git Repository, select Import next to your repository.
- On the setup screen, keep the framework Vercel found. Don’t press Deploy yet.

It worked when: Vercel’s setup screen shows your repository’s name, with your framework filled in.

Keep for later: Stay on the setup screen. “Add your secret settings” starts there.

If something goes wrong:
- Your repository isn’t in the list. Use the account menu at the top left of the list. Pick your personal GitHub or GitLab account.
- It says it can’t deploy a private repository from an organization or group. The free Hobby plan can’t deploy a private repository owned by a GitHub organization or a GitLab group. Move it to your personal account, or make it public.

### Step 3 of 5: Add your secret settings

This step is mine to do. Walk me through it, one action at a time:
- If your list of setting names was empty, just press Deploy.
- On the setup screen, open Environment Variables.
- For each name on your list, type the name exactly. Then copy its value from your .env file.
- Choose Secret as the type for secret keys. Public values can stay as Config.
- When every name is added, press Deploy.
- To change these later, open your project and select Environment Variables in the sidebar.

It worked when: Every name from your list is added in Vercel, and your first deploy has started.

Before we move on, check with me:
- Count the names in Vercel. Does the number match your list?
- Is every secret key set to the Secret type?

If something goes wrong:
- You don’t have a value for one of the names. Ask your AI tool where that value comes from. It’s usually in another service’s dashboard, like your payments or database account.
- A value you changed isn’t working on the live site. Changes only apply to new deploys. Deploy again, or push your next change, so Vercel uses the new value.

### Step 4 of 5: Open your live site on your phone

This step is mine to do. Walk me through it, one action at a time:
- Watch the build. When it finishes, Vercel shows your new site.
- Find your site’s main address on your project page. It ends in .vercel.app.
- Open that address on your phone.
- Try the main thing your site does, from start to finish.
- Write the address into PLAN.md so you can find it later.

It worked when: Your site opens on your phone at an address ending in .vercel.app.

Before we move on, check with me:
- Does the main feature work on your phone too?

If something goes wrong:
- The build failed. Open the failed deploy in Vercel. Copy the build log into your AI tool and ask: “What does this mean, and how do I fix it?”
- A Vercel sign-in page appears. That link is for one single deploy, and Vercel can keep those private. Open the main address on your project page instead.
- Something works on your computer but not online. Check that every setting name is added in Vercel. Then tell your AI tool what you see and ask it to find the difference.

### Step 5 of 5: Connect your own domain

This step is optional. Ask me whether I want it, and skip it if I don’t.

This step is mine to do. Walk me through it, one action at a time:
- No domain yet? You can search for one and buy it at vercel.com/domains. Then add it in your project’s Settings, under Domains.
- For a domain you bought elsewhere, open Settings, then Domains, and select Add Existing.
- Type your domain, like yourname.com. If Vercel offers to add the www version too, accept.
- Vercel now shows the DNS records to add: an A record for yourname.com and a CNAME record for www. Copy the values Vercel shows you.
- Sign in where you bought the domain. Open its DNS settings and add each record exactly as Vercel shows it.
- Go back to Domains in Vercel and wait for it to say the domain is ready. This often takes under an hour.
- Update the address in PLAN.md to your new domain.

It worked when: Your site opens at your own domain, with a lock icon in the address bar.

Before we move on, check with me:
- Try it with and without www. Do both work?

If something goes wrong:
- Vercel says the domain’s setup is invalid. Look for an older record with the same name at your domain seller. Remove the old one and keep only Vercel’s.
- The values don’t match a guide you read online. Use the values on your own Domains page. Vercel gives each project its own CNAME value, so other people’s may differ.
- It still doesn’t work after a day. Some changes take up to two days. If it’s longer, take screenshots of your DNS settings and Vercel’s Domains page. Ask your AI tool to compare them.

Compare Vercel with the other options: https://buildladder.com/concepts/hosting.md
