Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
86 lines (65 loc) · 3.22 KB
/
Copy path.env.example
File metadata and controls
86 lines (65 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# =============================================================================
# Abacus Environment Variables
# =============================================================================
# Copy this file to .env.local and fill in your values
# Required variables are marked with [REQUIRED]
# =============================================================================
# Database [REQUIRED]
# =============================================================================
# PostgreSQL connection string
# For local development with docker-compose:
POSTGRES_URL=postgresql://postgres:postgres@localhost:5434/ai_usage_tracker
# =============================================================================
# Authentication [REQUIRED for web UI]
# =============================================================================
# Google OAuth credentials (https://console.cloud.google.com/apis/credentials)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Restrict login to a specific email domain (e.g., "mycompany.com")
# Leave empty to allow any Google account
NEXT_PUBLIC_DOMAIN=
# =============================================================================
# Data Sources - Anthropic
# =============================================================================
# Anthropic Admin API key for Claude Code usage data
# Get from: https://console.anthropic.com/settings/admin-keys
ANTHROPIC_ADMIN_KEY=
# =============================================================================
# Data Sources - Cursor
# =============================================================================
# Cursor Admin API key for team usage data
# Get from: Cursor dashboard > Team Settings > API
CURSOR_ADMIN_KEY=
# =============================================================================
# Data Sources - OpenRouter
# =============================================================================
# OpenRouter management key (organization account required)
# Get from: https://openrouter.ai/settings/management-keys
OPENROUTER_MANAGEMENT_KEY=
# Optional: limit import to specific workspaces (comma-separated IDs or slugs)
# Leave empty to import activity from all workspaces
# OPENROUTER_WORKSPACES=
# =============================================================================
# Data Sources - GitHub (for commit tracking)
# =============================================================================
# Option 1: GitHub App (recommended for organizations)
# GITHUB_APP_ID=
# GITHUB_APP_PRIVATE_KEY=
# GITHUB_APP_INSTALLATION_ID=
# Option 2: Personal Access Token (simpler setup)
# GITHUB_TOKEN=
# Webhook secret for verifying GitHub webhook payloads
# GITHUB_WEBHOOK_SECRET=
# Default GitHub org for user mappings (defaults to "getsentry")
# GITHUB_ORG=
# =============================================================================
# Cron Jobs (Vercel)
# =============================================================================
# Secret for authenticating Vercel cron job requests
# Generate with: openssl rand -hex 32
CRON_SECRET=
# =============================================================================
# Observability (Optional)
# =============================================================================
# Sentry DSN for error tracking
# NEXT_PUBLIC_SENTRY_DSN=