Settings

Manage integrations

Gmail Integration

Setup Instructions

  1. Create a project in Google Cloud Console
  2. Enable the Gmail API
  3. Create OAuth 2.0 credentials (Web application). Set the authorised redirect URI to:https://admin.lianmarshall.au/api/auth/google/callback
  4. Copy the Client ID and Client Secret into .env.local:
    GOOGLE_CLIENT_ID=your_client_id_here
    GOOGLE_CLIENT_SECRET=your_client_secret_here
    NEXT_PUBLIC_BASE_URL=http://localhost:3001
  5. Restart the dev server, then click "Connect Gmail" above