Prerequisites
- A Google Sheet you want to sync.
- A datasource already configured in Mora.
Required fields
| Field | Description | Example |
|---|---|---|
| Name | A display name for this connection. | Marketing budget sheet |
| Schema | The schema name where the table will be created. Letters and underscores only. | google_sheets |
| Table | The table name for the synced data. Letters and underscores only. | budget |
| Sheet ID | The ID of your Google Sheet (from the URL). | 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms |
| Named range | The named range within the sheet to sync. | BudgetData |
Steps
- Open Settings → Connections → New.
- Select Google Sheets.
- Fill in the fields above.
- Share your Google Sheet with the service account email displayed in the form. Click the email to copy it, then go to your Google Sheet, click Share, and paste the email as a viewer.
- Click Authenticate.
The service account email is shown in the connection form. You must share the sheet with this email address before the sync can access your data.
Finding your Sheet ID
The Sheet ID is the long string in your Google Sheets URL between/d/ and /edit:
Creating a named range
- In Google Sheets, select the cells you want to sync.
- Go to Data → Named ranges.
- Give it a name (e.g.
BudgetData) and click Done.