Step 1: Set Up Google Cloud Project
Go to Google Cloud Console:
- Navigate to: https://console.cloud.google.com/
- Sign in with your Google account
- Create a new project:
- Click the project dropdown (top left)
- Click “New Project”
- Project name:
n8n-integrations - Click “Create”
Step 2: Enable Google Sheets API
- Go to APIs & Services → Library
- Search for: “Google Sheets API”
- Click on “Google Sheets API”
- Click “Enable”
Step 3: Create Service Account
- Go to APIs & Services → Credentials
- Click “Create Credentials” → “Service Account”
- Service account details:
- Service account name:
n8n-sheets-access - Description:
Service account for n8n Google Sheets integration
- Service account name:
- Click “Create and Continue”
- Skip role assignment (click “Continue”)
- Click “Done”
Step 4: Generate Service Account Key
- Click on your new service account (
n8n-sheets-access) - Go to the “Keys” tab
- Click “Add Key” → “Create new key”
- Select “JSON” format
- Click “Create”
- The JSON file will download automatically – save it securely!
The downloaded JSON file contains all the credentials you need. It should look something like this:
{
"type": "service_account",
"project_id": "n8n-integrations-...",
"private_key_id": "abc123...",
"private_key": "-----BEGIN PRIVATE KEY-----\n...",
"client_email": "n8n-sheets-access@n8n-integrations-....iam.gserviceaccount.com",
"client_id": "123456789...",
...
}