Setup
Settings
Keep credentials server-side, share Scott's sheet with the service account, and verify readiness before live sync.
Environment checklist
No secret values are shown. Only boolean readiness leaves the server.
DATABASE_URLConfigured
GOOGLE_SHEETS_SPREADSHEET_IDConfigured
GOOGLE_SHEETS_DAILY_CHECKIN_SHEET_NAMEConfigured
GOOGLE_SERVICE_ACCOUNT_EMAILConfigured
GOOGLE_PRIVATE_KEYConfigured
INTERVALS_API_KEYConfigured
INTERVALS_ATHLETE_IDConfigured
Google Sheets setup
Scott's sheet sync uses a Google service account.
- Create or choose a Google Cloud project.
- Enable the Google Sheets API.
- Create a service account and JSON key.
- Set the email and private key as environment variables.
- Share Scott's spreadsheet with the service account as editor.
Intervals.icu setup
Training and wellness sync uses a personal API key.
- Create an API key in Intervals.icu Developer Settings.
- Set `INTERVALS_API_KEY` on the server or in Vercel env vars.
- Optionally set `INTERVALS_ATHLETE_ID`; it defaults to `0` for your API key.
- Use dry run on the integrations page before storing records.