Skip to main content
You can run Indic8 serverless on Vercel with a managed Neon Serverless Postgres database.

Prerequisites

  • A Vercel account
  • A Neon Serverless Postgres account
  • An Upstash Redis serverless Redis instance (for queue & deduplication)

Step-by-Step Deployment

1

Create a Neon Postgres Database

  1. Log in to Neon and create a new project named indic8-production.
  2. Copy your pooled connection string: postgresql://user:password@ep-sample-123-pooler.us-east-2.aws.neon.tech/neondb?sslmode=require
2

Create an Upstash Redis Database

  1. Log in to Upstash and create a Redis database.
  2. Copy the UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN (or standard REDIS_URL).
3

Fork and Deploy to Vercel

  1. Fork the indic8/indic8 GitHub repository.
  2. In Vercel, click Add New > Project and import your fork.
4

Set Environment Variables in Vercel

Configure the following required environment variables:
  • DATABASE_URL: Your pooled Neon connection string.
  • REDIS_URL: Your Upstash Redis connection string.
  • NEXTAUTH_URL: Your Vercel deployment URL (e.g. https://analytics.yourdomain.com).
  • NEXTAUTH_SECRET: Run openssl rand -hex 32 to generate.
  • VAULT_ENCRYPTION_KEY: Run openssl rand -hex 32 to generate.
5

Run Database Migrations

Vercel automatically triggers Prisma / Drizzle schema pushes during the build step:
Your serverless Indic8 instance is now live and ready to receive webhook streams.