Google Sheets
The Google Sheets Destination is configured to push data to a single Google Sheets spreadsheet with multiple Worksheets as streams. To replicate data to multiple spreadsheets, you can create multiple instances of the Google Sheets Destination in your Airbyte instance.
Google Sheets imposes rate limits and hard limits on the amount of data it can receive, which results in sync failure. Only use Google Sheets as a destination for small, non-production use cases, as it is not designed for handling large-scale data operations.
Read more about the limitations of using Google Sheets below.
Prerequisites
- Google Account
- Google Spreadsheet URL
Step 1: Set up Google Sheets
Google Account
To create a Google account, visit Google and create a Google Account.
Google Sheets (Google Spreadsheets)
- Once you are logged into your Google account, create a new Google Sheet. Follow this guide to create a new sheet. You may use an existing Google Sheet.
- You will need the link of the Google Sheet you'd like to sync. To get it, click "Share" in the top right corner of the Google Sheets interface, and then click Copy Link in the dialog that pops up.
Step 2: Set up the Google Sheets destination connector in Airbyte
For Airbyte Cloud:
- Select Google Sheets from the Source type dropdown and enter a name for this connector.
- Select
Sign in with Google
. - Log in and Authorize to the Google account and click
Set up source
. - Copy the Google Sheet link to Spreadsheet Link
For Airbyte Open Source:
Authentication to Google Sheets is only available using OAuth for authentication.
- Create a new Google Cloud project.
- Enable the Google Sheets API.
- Create a new OAuth client ID. Select
Web application
as the Application type, give it aname
and addhttps://developers.google.com/oauthplayground
as an Authorized redirect URI. - Add a
Client Secret
(Add secret), and take note of both theClient Secret
andClient ID
. - Go to Google OAuth Playground
- Click the cog in the top-right corner, select
Use your own OAuth credentials
and enter theOAuth Client ID
andOAuth Client secret
from the previous step. - In the left sidebar, find and select
Google Sheets API v4
, then choose thehttps://www.googleapis.com/auth/spreadsheets
scope. ClickAuthorize APIs
. - In step 2, click
Exchange authorization code for tokens
. Take note of theRefresh token
. - Set up a new destination in Airbyte, select
Google Sheets
and enter theClient ID
,Client Secret
,Refresh Token
andSpreadsheet Link
from the previous steps.