Quick Deploy Guide

In this guide, you'll learn how to quickly deploy your Nextacular project over at Vercel. After successfully going through this guide, you'll feel confident in handling your own deployment.

Prerequisites

A Vercel account is required in order for us to successfully deploy our SaaS project. Head over to Vercel and create your account now.

Email

Check out our supported email providers here and how to set them up:

Email

Authentication

As of v1.0.0, Email is our go-to authentication provider. Additional modification and setup will have to be done for other providers.

Visit NextAuth.js for additional setup of other providers.

Authentication

Payment

As of v1.0.0, Stripe is our go-to payment provider. Additional modification and setup will have to be done for other payment providers.

You will need to set up an account with stripe and create the products.

Check out our supported payment providers here and how to set them up:

Payment

Database

Check out our supported database providers here and how to set them up:

Database

Analytics

Check out our supported analytics providers here and how to set them up:

Analytics

Steps

1. Deploy a Vercel Project

Create a Vercel Authorization Token

Prepare a Vercel Authorization Token in your account dashboard by clicking the "Create" button in the "Tokens" settings.

Create a Vercel Project

Create a new project in your Vercel dashboard by clicking the "+ New Project" button.

Import Git Repository

If this is your first time deploying a project in Vercel, connect your repository provider and authorize specific projects.

After authorizing repositories for deployment, click the "Import" button for your specific project.

Configure Project

Update your project configurations such as your Project Name.

Add Environment Variables

Set up your Environment Variables by adding the following values:

Please refer to this documentation for more details:

Environment Variables

Deploy

Click the "Deploy" button and wait for the build to finish.

If you encounter any issues while building the project, please don't hesitate to raise them over at our Discord channel. (https://discord.gg/GnCnzWbzDT)

2. Domain Configuration

DNS Nameservers Migrated to Vercel

Select your project, and go to your settings page. On the left side, you'll be able to set your "Domains". Add the following domains here to allow multi-tenancy for your project:

  1. yourdomain.com (Add yourdomain.com and redirect www.yourdomain.com to it – 2nd option)

  2. *.yourdomain.com

3. Post Build Configuration

During this time, your application should have been built successfully, but we're not quite there yet. In order for us to have a fully-working application, we need to set up additional environment variables, most especially the ones associated with your Vercel account (which were created after the build happened).

The following Environment Variables should be added:

Last updated

Was this helpful?