GRANOLA PHP BRIDGE — START HERE
===============================

LOCAL (Windows/macOS/Linux)
---------------------------
1. Open a terminal in this folder.
2. Run:

   php -v
   php scripts/install.php

3. Edit:

   config/config.php

4. Start local server:

   php -S 127.0.0.1:8080 -t public

5. Open:

   http://127.0.0.1:8080

FREE / BASIC
------------
Leave granola.api_key blank.
Use Manual Note + Local Chat/Search + JSON + optional Gmail.
Granola Basic has no REST API key/webhook.

BUSINESS / ENTERPRISE
---------------------
Paste your Granola grn_... API key in config/config.php.
Test locally with Test Granola and Sync Now.
After moving to a public HTTPS server, create the webhook from Webhook Setup.

GMAIL
-----
Create a Google OAuth Web Application and add this local redirect URI:

http://127.0.0.1:8080/gmail-callback.php

Paste the Client ID/Secret in config/config.php, then open:

http://127.0.0.1:8080/gmail-auth.php

SERVER
------
Read docs/SERVER.md and README.md.
