← Back to Hub

Connect your WHOOP.

Your WHOOP data → your Google Sheet → your personal dashboard.

1. Prepare the Google backend

  1. Open your existing Life Hub workout Sheet and choose Extensions → Apps Script.
  2. Update Code.gs with the latest local file and add Health.gs from the project folder. Your existing workout tabs and passcode remain in this project.
  3. Run setupHealthHub once from the editor. This prepares the data tabs and installs an hourly Google trigger. Authorize the Google access when prompted.
  4. Deploy → Manage deployments → edit the current web app → New version → Deploy. Keep the same deployment URL.

2. Register your personal WHOOP app

Open WHOOP Developer Dashboard ↗

  1. Sign in with your WHOOP account. Create a personal app named ICONIA Life Hub.
  2. Use https://hub.iconiapartners.com for the app website and https://hub.iconiapartners.com/privacy/ for the privacy page.
  3. Select read access for recovery, cycles, sleep, and workouts. The connection also requests offline so Google can keep syncing.
  4. Register this exact redirect URI:
  5. Copy the Client ID and Client Secret into your Google script’s Script Properties as WHOOP_CLIENT_ID and WHOOP_CLIENT_SECRET. Keep the secret in Google; never paste it into the website or chat.

WHOOP’s Sandbox tier supports a personal connection without a public app review. WHOOP account limits.

3. Connect and start the feed

Return to the Hub, unlock it with your workout passcode, and choose Connect under WHOOP. Approve the WHOOP account connection yourself. Then choose Sync now. The first import covers 90 days; subsequent hourly runs refresh the most recent 7 days, including late scoring and corrections.

To change the initial history window, set WHOOP_BACKFILL_DAYS (7–365) before the first sync. The dashboard displays up to 365 recorded days. Sleep stages, recovery and strain retain their original values; missing or unscored values remain blank.

What the dashboard combines

WHOOP recovery, HRV, resting heart rate, sleep, sleep consistency, strain and steps are joined with the same day’s logged lifting. The daily journal supplies food, energy and habit context. WHOOP’s developer API does not provide its journal entries; use the Hub check-in to collect that context. Comparisons require enough matched days and show sample sizes.