How to set up the Google Sheets integration
Connect Google Sheets so spreadsheet data flows into journey map metric cards.
An Admin connects Google Sheets once at the account level. After that, anyone in the workspace can build metrics from your sheets.
Set up the Google Sheets integration
Prerequisites
Admin role at the account level
A Google account with access to the spreadsheets you want to read
For service account auth: access to a Google Cloud project (you can create one as part of setup)
In Smaply, go to Account Settings > Integrations and click Set up next to Google Sheets.

The Configure Google Sheets page opens with two authentication options under Select integration type.

Pick the authentication method that fits:
Service account (recommended) - Server-to-server, so the connection isn't tied to one person's login. Best when your team works on the same Smaply account.
OAuth - Signs Smaply in as you. Simpler when only one person needs the data.
A service account is a Google identity that connects Smaply to Google Sheets without being tied to a single person's login. You create the account in Google Cloud, share each source spreadsheet with its email address, and upload its key file in Smaply.
Keep the Configure Google Sheets page open in another tab. You'll come back to it at the end of this flow to upload the key file.
Choose Login with your Google Sheets service account

On the Configure Google Sheets page, the Login with your Google Sheets service account option is selected by default. The right pane shows the Configure service account form where you'll upload the JSON key.
Create a Google Cloud project
In the Google Cloud Console, create a new project for the integration. We recommend naming it something like Smaply-Sheets so the purpose is obvious if you audit projects later.
Enable the Google Sheets API
Inside the project, open APIs & Services > Library, search for Google Sheets API, and click Enable. Smaply needs this API to read data from any sheet the service account has access to.
The Google Sheets API is not enabled by default in new Google Cloud projects. Skipping this step is the most common cause of "no spreadsheets available" later.
Create a service account
Open IAM & Admin > Service Accounts and click Create Service Account. Give it a recognisable name (for example, smaply-sheets-reader) and an optional description. You don't need to grant the service account any project-level roles, since access is granted per spreadsheet in Google Sheets itself. For full background on service accounts, see Google's Service Account documentation.
Create and download a JSON key
On the service account's detail page, open the Keys tab, click Add Key > Create new key, choose JSON, and download the file. Note the service account's email address from the same page (it ends in @<project>.iam.gserviceaccount.com). You'll need it in the next step.
Share each source spreadsheet with the service account
In Google Sheets, open every spreadsheet you want Smaply to read. Click Share in the top-right corner of the sheet, paste the service account's email address into the people field, set the access level to Viewer, and click Send (or Share). Repeat for every spreadsheet you plan to use.
Upload the key in Smaply
Back on the Configure Google Sheets page in Smaply, click + Upload File under Service account file and select the JSON key you downloaded.
Verify the connection

A green Success banner confirms the connection. The right pane now shows Added on and Added by (the service account email for service-account connections), plus a red Disconnect account button you can use later if you need to remove the connection.
OAuth signs Smaply in as you. The connection inherits whatever spreadsheets your Google account already has access to, and tokens are tied to your individual permissions in Google.
Choose Login with your Google Sheets account (oAuth)

On the Configure Google Sheets page, choose Login with your Google Sheets account (oAuth). The right pane shows a Connect Google Sheets section with a three-step info panel and the Connect Google Sheets button.
Click Connect Google Sheets
Click Connect Google Sheets. Smaply redirects you to Google.
Sign in with Google
Pick the Google account that has access to the spreadsheets you want to use in Smaply. If you're already signed in to multiple Google accounts, choose the one with the right spreadsheet access.
Grant Smaply read access
On Google's consent screen, review the permissions Smaply is requesting and click Allow. Smaply only needs read access to your Google Sheets data.
Verify the connection

Google sends you back to Smaply. A green Success banner confirms the connection, and the right pane now shows Added on, Added by, and a red Disconnect account button.
OAuth tokens expire periodically. If you sign out of Google, revoke Smaply's access in your Google account, or lose access to a spreadsheet, the connection drops and metrics that depend on it stop pulling data. Click Connect Google Sheets again from the same page to restore it.
Verify the setup
Reopen the Configure Google Sheets page from Account Settings > Integrations. A green Success banner and the Added on and Added by details confirm the connection is live. To check that your data is reachable, start a new Google Sheets metric and confirm a spreadsheet you shared (service account) or have access to (OAuth) appears when you click Select file.
If the connection shows an error or no spreadsheets resolve, see Troubleshooting below.
Use Google Sheets in a metric
After the integration is connected, Editors create Google Sheets metrics like any other Smaply metric. In the metric configuration modal, set Source to Google Sheet and then pick the spreadsheet, sheet, and column layout.

For Series and Comparison metrics, the Source step exposes these Google-Sheets-specific fields:
Spreadsheet - Click Select file to open Google's spreadsheet picker and pick a sheet you've shared with the connected account.
Sheet - Pick the tab inside the spreadsheet. Disabled until a spreadsheet is selected.
Make top row headers - Treats the first row as column names. Checked by default.
Data label - The column that supplies labels (for example, dates or category names).
Data values - The column that supplies numeric values.
Select bottom rows and Number of rows (max 50) - Limit the metric to the most recent rows. Smaply reads up to 50 rows per metric.
For Number metrics, the Source step is simpler: pick the spreadsheet and sheet, then enter a single cell reference (for example, A2) and optional prefix and suffix (for example, $ and %).
The Save button stays disabled until Spreadsheet, Sheet, and the data fields for your chosen type are all set.
For the full metric flow, including chart types, filters, and how the card behaves on a journey map, see How to create and configure a metric.
Tip: Match the sheet to the journey context
If a journey is structured around weekly cohorts, point the metric at a sheet whose rows are weeks. If it's structured around regions, use a sheet with one row per region. Smaply renders what's in the sheet, so the cleaner the sheet's shape matches the journey, the more legible the metric card.
Google Sheets metrics refresh on an hourly cycle, in line with all Smaply metric integrations. There's no continuous or streaming pull.
Troubleshooting
The Integrations tab in Account Settings shows the integration's current state. Pick the symptom below that matches what you're seeing.
For wider questions about how integrations behave across tools (refresh frequency, switching auth, what happens on disconnect), see How to manage integrations.
Related topics
Last updated