# Installation

In this part of the documentation, we are going to show you how to install and deploy the SaaSBold Boilerplate.

Before we start the installation process make sure you have Node.js installed on your machine. Otherwise, the installation commands won't work. Follow these steps to install the template:

1. Download the zip file from [SaasPilot](https://cipherslab.gitbook.io/saas-pilot-docs/introduction#installation)
2. Extract the zip file and **cd** into the template folder. Now run this command to install the dependencies:

```
npm install
```

or

```
yarn install
```

If the above commands do not work try:

```
npm install --legacy-peer-deps
```

It will resolve all the peer dependency-related issues.

This will install all the dependencies.\
Now follow the next steps to complete all the integrations:

1. Database
2. Authentication
3. Stripe
4. Resend

When you are done with all the integration, now you can start the project on the local server

```
npm run dev
```

It’ll start the template on **<http://localhost:3000>**

## **Deploying on PaaS**

If you are using a GitHub repo then you can go with free-of-cost and easy-to-use options like [Vercel](https://vercel.com/), or [Netlify](https://netlify.com/) they offer decent-free tiers for Next.js hosting.

Since we are using Prisma ORM, make sure to edit the build command like this while deploying to Vercel.

<figure><img src="https://4163021955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft40347ZB9PUpZzu3pTeZ%2Fuploads%2FvL8YJzsFXZNofyM0DwYe%2Fimage-12-30-2024_02_32_PM.png?alt=media&#x26;token=2c635cd9-1152-42c8-a0e7-f2bdf16eec14" alt=""><figcaption><p>Deploying on Vercel</p></figcaption></figure>

```
prisma generate && npm run build
```
