Skip to content
Keboola Docs

Load from Google Sheets

Load a table from an external spreadsheet using the Google Sheets data source connector, with an authorized account rather than a public URL.

A side trip from Load Your Data: the same kind of load, but from a spreadsheet you own — so the connector needs an authorized Google account instead of a public URL.

Google Drive is commonly used for sharing small reference tables between different organizations. For our purposes, create a Google spreadsheet from the level.csv file. Imagine someone shared the level table with you through Google Drive.

Go to Google Spreadsheets and start a new blank spreadsheet. Then go to File – Import and upload the level.csv file.

Google Spreadsheets Screenshot

Configure Google Sheets Data Source Connector

Section titled “Configure Google Sheets Data Source Connector”
  1. Navigate to Components section in Keboola and click the Add Component button:

Data Source Overview Screenshot

  1. Utilize the search box to locate the Google Sheets data source connector. Once found, click on it.

Data Source Overview Screenshot

  1. Click Connect To My Data. The ‘Use With Demo Data’ option will extract datasets prepared by Keboola for your experimentation outside of this guide, and it can be found across all commonly used connectors.

  2. Enter a name and description and click Create Configuration.

Create Google Sheets Configuration

Each Keboola component (data source, data destination, or application) can support multiple configurations. This concept enables you to, for instance, extract data from multiple Google accounts.

  1. Authorize the connector to access the spreadsheet by clicking the Sign in with Google button.

Sign in with Google

  1. On the following screen, click Allow.

Access Google Account

  1. Now you want to select the Google Drive files to import.

Select Google Drive Files

  1. In step 5, you authorized Keboola to use your account to access the Drive. In this step, you will be asked to grant access specifically to spreadsheets. Click ‘Select all’ and then proceed by clicking ‘Continue’ on the following screen.

Get Access to Spreadsheets

  1. Use the search box to find your Level spreadsheet. Select it and click the Select button.

Find Spreadsheet

  1. Keboola has automatically detected all sheets from within your spreadsheet and will now allow you to select the one you want to load.
  2. Select the sheet and click Save and Run Configuration. A job will be executed, and once completed, you will see a new table created.

Save and Run Configuration

  1. The Google Sheets data source automatically generates an output bucket and table. Click on the name of the output table to check its contents, or navigate directly to the Storage section to explore the data.

Go to Storage

Another side trip: load the same kind of data with the database data source connector.

Next: Transform your data →

Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.