Tutorial
2 min read

Use a template

Create a new project on Vercel by using a template
Table of Contents

Clone the template to your local machine and use the following snippet to deploy the template with Vercel CLI:

terminal
vercel --cwd [path-to-project]

Accelerate your development on Vercel with Templates. This guide will show you how to use templates to fast-track project setup, leverage popular frontend frameworks, and maximize Vercel's features.

  1. Find a template

    From https://vercel.com/templates, select the template you’d like to deploy. You can use the filters to select a template based on use case, framework, and other requirements.

    Not sure which one to use? How about exploring Next.js.

    Viewing the templates marketplace
    Viewing the templates marketplace
  2. Deploy the template to Vercel

    Once you've selected a template, Click Deploy on the template page to start the process.

    Deploying your chosen template
    Deploying your chosen template
  3. Connect your Git provider

    To ensure you can easily update your project after deploying it, Vercel will create a new repository with your chosen Git provider. Every push to that Git repository will be deployed automatically.

    First, select the Git provider that you'd like to connect to. Once you’ve signed in, you’ll need to set the scope and repository name. At this point, Vercel will clone a copy of the source code into your Git account.

    Connecting your Git provider and creating a new repository
    Connecting your Git provider and creating a new repository
  4. Project deployment

    Once the project has been cloned to your git provider, Vercel will automatically start deploying the project. This starts with building your project, then assigning the domain, and finally celebrating your deployed project with confetti.

    Deploying a template
    Deploying a template
  5. View your dashboard

    At this point, you’ve created a production deployment, with its very own domain assigned. If you continue to your dashboard, you can click on the domain to preview a live, accessible URL that is instantly available on the internet.

    Viewing your deployment information
    Viewing your deployment information
    Viewing your deployment information
    Viewing your deployment information
  6. Clone the project to your machine

    Finally, you’ll want to clone the source files to your local machine so that you can make some changes later. To do this from your dashboard, select the Git repository button and clone the repository.

Because you used a template, we’ve automatically included any additional environment set up as part of the template. You can customize your project by configuring environment variables and build options.



Environment Variables are key-value pairs that can be defined in your project settings for each Environment . Teams can also use shared environment variables that are linked between multiple projects.



Vercel automatically configures builds settings based on your framework, but you can customize the build in your project settings or within a vercel.json file.

Next, learn how to assign a domain to your new deployment.

Last updated on May 20, 2024