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_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| -
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 | -
Deploy
Redeploy to apply environment variables. Migrations run automatically on build.
Next Steps
Section titled “Next Steps”- Set up providers to start collecting data
- Configure cron jobs for automated syncing
- Use the CLI for manual operations and backfills