> For the complete documentation index, see [llms.txt](https://docs.dexlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexlabs.io/lakehouse-platform/connect-your-data/connector-catalog/google-sheets.md).

# Google Sheets

## Pre-requisites

Setting up a Google Sheets connections requires:

1. The email and key for a GCP service account. Check instructions [here](/lakehouse-platform/connect-your-data/connector-catalog/google-sheets/setting-up-a-service-account.md) if you don't have them.
2. The url for the spreadsheet to be ingested

## Setting up the connector

1. Follow the instructions [here](/lakehouse-platform/connect-your-data/set-up-a-connection.md) and select Google Sheets as the connector type
2. Give a name and a description for your connection
3. Make sure the spreadsheet is shared with the service account email. Read access is enough
4. Add the service account key to the **Service Account Json** field. We strongly recommend using a [Secret](/lakehouse-platform/variables-and-secrets.md) rather than adding it as plain text.
5. Fill in the spreadsheet url
6. Save the connector

## Configuring tabs extractions

After saving the connector, deX will:

1. Scan the spreadsheet and list all available tabs
2. Allow you to select which tabs to extract data from
3. Let you adjust the cell range for data extraction
4. Enable you to configure whether to skip header rows


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dexlabs.io/lakehouse-platform/connect-your-data/connector-catalog/google-sheets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
