Skip to content

Quick Start

Get Abacus running in production with Vercel.

  1. Deploy to Vercel

    Deploy with Vercel

  2. Add Postgres Database

    Add a database via the Vercel Marketplace:

    1. Go to Storage tab in your Vercel project
    2. Click Connect DatabaseNeon Postgres
    3. Follow the prompts to create or link a database

    This automatically sets POSTGRES_URL in your environment.

  3. Set Up Google OAuth

    1. Go to Google Cloud ConsoleAPIs & Services → Credentials
    2. Create an OAuth 2.0 Client ID (Web application)
    3. Add redirect URI: https://your-app.vercel.app/api/auth/callback/google
    4. Copy the Client ID and Client Secret
  4. Configure Environment Variables

    Set these in Vercel project settings (Settings → Environment Variables):

    Variable Description
    GOOGLE_CLIENT_ID From step 3
    GOOGLE_CLIENT_SECRET From step 3
    NEXT_PUBLIC_DOMAIN Email domain to restrict access (e.g., sentry.io)
    BETTER_AUTH_SECRET Run: openssl rand -base64 32
    CRON_SECRET Run: openssl rand -hex 32
  5. Configure Providers

    Add credentials for the providers you want to use:

    Variable Provider
    ANTHROPIC_ADMIN_KEY Claude Code
    CURSOR_ADMIN_KEY Cursor
    GITHUB_APP_* GitHub Commits
  6. Deploy

    Redeploy to apply environment variables. Migrations run automatically on build.