> For the complete documentation index, see [llms.txt](https://helpdocumentation.gitbook.io/user-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocumentation.gitbook.io/user-documentation/bot-builder/whatsapp-chatbot/google-sheet-blocks/google-authentication-setup-and-configuration.md).

# Google Authentication – Setup and Configuration

#### Method 1: Create Authentication from Chatbot

**Step 1: Create a Bot Flow**

* Go to **Chatbots → Chatbot**.
* Click **Create Bot Flow**.
* Enter a title and add a **WhatsApp Chatbot** trigger.
* Configure the keyword, channel, and condition, then save.

**Step 2: Create Google Authentication**

* Click **Add Node → Popular Apps → Google Sheets**.
* Click **Create New Authentication**.
* Enter a label and click **Sign in with Google**.
* Select your Google account and allow the required permissions.
* Refresh the authentication list and select the newly created authentication.

**Step 3: Select Google Spreadsheet**

* Click **Configure Spreadsheet Selection**.
* Select **Open Google Picker**.
* Choose the required Google Sheet and click **Select**.
* Select the spreadsheet from the dropdown.
* Choose the required sheet and configure the required columns.
* Click **Run** and **Save**.

**Step 4: Enable the Workflow**

* Continue building your bot flow.
* Save and enable the workflow.

***

#### Method 2: Create Authentication from Automation

**Step 1: Open App Authentications**

* Go to **Automation → App Authentications**.
* Here you can view, edit, delete, and manage existing authentications.

**Step 2: Add a New Connection**

* Click **Add Connection**.
* Select **Google Sheets**.
* Choose the required authentication type, such as **Google Sheet Picker Authentication**.
* Enter a label.
* Click **Sign in with Google**.
* Select your Google account and allow the required permissions.

{% embed url="<https://www.youtube.com/watch?v=Rv4r_1wlRvY>" %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpdocumentation.gitbook.io/user-documentation/bot-builder/whatsapp-chatbot/google-sheet-blocks/google-authentication-setup-and-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
