Quick Start
Get Abacus running in production with Vercel.
-
Deploy to Vercel
-
Add Postgres Database
Add a database via the Vercel Marketplace:
- Go to Storage tab in your Vercel project
- Click Connect Database → Neon Postgres
- Follow the prompts to create or link a database
This automatically sets
POSTGRES_URLin your environment. -
Set Up Google OAuth
- Go to Google Cloud Console → APIs & Services → Credentials
- Create an OAuth 2.0 Client ID (Web application)
- Add redirect URI:
https://your-app.vercel.app/api/auth/callback/google - Copy the Client ID and Client Secret
-
Configure Environment Variables
Set these in Vercel project settings (Settings → Environment Variables):
Variable Description 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 32CRON_SECRETRun: openssl rand -hex 32 -
Configure Providers
Add credentials for the providers you want to use:
Variable Provider ANTHROPIC_ADMIN_KEYClaude Code CURSOR_ADMIN_KEYCursor GITHUB_APP_*GitHub Commits -
Deploy
Redeploy to apply environment variables. Migrations run automatically on build.
Next Steps
- Set up providers to start collecting data
- Configure cron jobs for automated syncing
- Use the CLI for manual operations and backfills