Repository navigation
Setup and notifications
Kseniya Baranava edited this page Dec 4, 2026
·
1 revision
- Host your own public website, privacy policy and terms. You can use the project as an example when writing yours.
- Create a private Google Sheet, set the time zone, and install the three files from Getting Started. Reload it and choose Wellness Sync → Connect personal account. Review the Google permissions and copy the redirect URI the script displays.
- In the Oura Developer Portal, choose Create New. Enter your own URLs, contact email, exact redirect URI and the requested scopes for daily data, measured heart rate and stress. Review the Oura agreement before creating the application.
- In Apps Script → Project Settings → Script Properties, add OURA_CLIENT_ID and OURA_CLIENT_SECRET. In the sheet, open Connect personal account → Authorize in Oura, then complete consent in the browser. The callback should show Connected.
- Run Sync the last four days and check Sync Runs for OK and Raw Data from Oura as the report source. Then optionally import older history and enable 30-minute polling.
Set SYNC_ALERT_EMAIL in Script Properties to a private mailbox you control and approve the send-mail permission when prompted. A handled failure can send Ring Data Sync: sync needs attention. A repeat failure of the same kind suppresses the duplicate until a successful run. Check Sync Runs for details.
If Google cannot open the callback after Oura consent, check the exact redirect URI. Open the sheet in a browser profile signed into Google only as the sheet owner, then start Connect personal account again from that profile. For other cases, see the detailed setup guide.