Google Sheets OAuth Setup Guide
This guide explains how to connect your Google Account to Reeva for Google Sheets tools using OAuth with your own Google Cloud credentials.
Why Use This Method?
Google Sheets OAuth provides API access to your spreadsheets, allowing you to:
- Create spreadsheets programmatically
- Read and write cell values
- Manage sheets/tabs, formatting, and ranges
- (Optional) Use Google Drive features like placing new spreadsheets into specific folders
Since Reeva hasn't completed Google's OAuth verification process yet, you'll use your own Google Cloud project credentials.
Prerequisites
- A Google Account
- A Google Cloud project (free tier is sufficient)
- OAuth credentials (Client ID + Client Secret)
Good to know: The same Google OAuth account can be used across Gmail, Google Calendar, and Google Sheets tools.
Step-by-Step Setup
1. Create a Google Cloud Project
(If you already have a project from Gmail/Calendar setup, you can use the same one.)
- Go to Google Cloud Console
- Click "Select a project" → "New Project"
- Enter a project name (e.g., "Reeva Google Integration")
- Click "Create"
2. Enable Google Sheets API ⚠️ REQUIRED
Sheets tools will not work unless the Google Sheets API is enabled.
- In your project, go to "APIs & Services" → "Library"
- Search for "Google Sheets API"
- Click on "Google Sheets API" in the results
- Click the "Enable" button
3. Enable Google Drive API (for folder placement) ⚠️ RECOMMENDED
If you want tools to place new spreadsheets into a specific Drive folder, you must enable the Drive API:
- Go to "APIs & Services" → "Library"
- Search for "Google Drive API"
- Click on "Google Drive API" in the results
- Click the "Enable" button
4. Configure OAuth Consent Screen
(Skip this if you already did it for another Google integration.)
- Go to "APIs & Services" → "OAuth consent screen"
- Choose "External" (unless you have a Google Workspace account)
- Fill in the required fields:
- App name: "Reeva" (or your preferred name)
- User support email: Your email
- Developer contact: Your email
- Click "Save and Continue"
- On the "Scopes" page, click "Save and Continue" (Reeva requests scopes during connection)
- On "Test users", add your own Google account email
- Click "Save and Continue"
5. Create OAuth Credentials
(If you already have OAuth credentials from Gmail/Calendar setup, you can reuse them!)
- Go to "APIs & Services" → "Credentials"
- Click "Create Credentials" → "OAuth 2.0 Client ID"
- Choose "Web application"
- Name it "Reeva Web Client"
- Under "Authorized redirect URIs", add:
(Or
https://app.reeva.dev/oauth/callbackhttp://localhost:5173/oauth/callbackfor local development) - Click "Create"
- Save your Client ID and Client Secret
6. Connect in Reeva
- Go to Reeva → Accounts → "Connect Platform"
- Select "Google Account (OAuth)"
- Enter your Client ID and Client Secret
- Give your account a name (e.g., "My Google Account")
- Click "Create Account"
- You'll be redirected to Google
- Important: You'll see a warning "This app isn't verified"
- This is expected since you're using your own credentials
- Click "Advanced" → "Go to [your app name] (unsafe)"
- Review permissions and click "Continue"
- Click "Allow"
- You'll be redirected back to Reeva
- ✅ Your Google Account is now connected!
What This Account Can Do
Once connected, this single Google Account works with:
Google Sheets Tools
- Create spreadsheets
- (More Sheets tools coming soon)
Gmail Tools
- Send emails, read/search, drafts
Google Calendar Tools
- List calendars, create/update/delete events
Troubleshooting
"Google Sheets API has not been enabled" Error
If you see an error indicating the Sheets API isn't enabled:
- Go to https://console.cloud.google.com/apis/library/sheets.googleapis.com
- Select your project
- Click "Enable"
- Wait 10–30 seconds
- Try again
"Google Drive API has not been enabled" Error
This usually happens when using a feature that touches Drive (like placing a spreadsheet into a folder):
- Go to https://console.cloud.google.com/apis/library/drive.googleapis.com
- Select your project
- Click "Enable"
- Wait 10–30 seconds
- Try again
Account Works for Gmail/Calendar but Not Sheets
This can mean your Google OAuth account was connected before Sheets/Drive scopes were added.
Fix: Disconnect your Google OAuth account in Reeva and reconnect it so you can grant the new permissions.
Security Notes
- Your OAuth credentials (Client ID and Secret) are stored encrypted in Reeva
- Reeva never sees your Google password
- You can revoke access anytime at https://myaccount.google.com/permissions
- Access tokens are automatically refreshed as needed