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):

    VariableDescription
    GOOGLE_CLIENT_IDFrom step 3
    GOOGLE_CLIENT_SECRETFrom step 3
    NEXT_PUBLIC_DOMAINEmail domain to restrict access (e.g., sentry.io)
    BETTER_AUTH_SECRETRun: openssl rand -base64 32
    CRON_SECRETRun: openssl rand -hex 32
  5. Configure Providers

    Add credentials for the providers you want to use:

    VariableProvider
    ANTHROPIC_ADMIN_KEYClaude Code
    CURSOR_ADMIN_KEYCursor
    GITHUB_APP_*GitHub Commits
  6. Deploy

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

Next Steps