Connect Google Sheets
Connect any Google Sheet via a service account — no OAuth pop-ups, refresh-token expiry, or per-user permissions.
Step 1 — Create a service account
- Go to console.cloud.google.com → APIs & Services → Credentials.
- Create Credentials → Service account.
- Skip role assignments (the sheet itself grants access).
- Open the service account → Keys → Add Key → JSON. Save the JSON file.
Step 2 — Share the sheet
Open your Google Sheet → Share → paste the service account email (e.g. my-svc@my-project.iam.gserviceaccount.com) → set Viewer access.
Step 3 — Connect in AI Insights
- Add Datasource → Google Sheets.
- Paste the Sheet URL (the full URL from your browser).
- Paste the JSON key contents.
- Test & Load Fields. Each tab becomes a table.
Tips
- The first row of each tab is treated as the header.
- Re-share the sheet with the service account if you ever rotate the service account.
- For larger sheets (>50k rows), prefer the file URL connector pointed at a published CSV.