# Google Drive

## Setup Guide

You can create your Google Drive integration app in Google Cloud APIs dashboard.&#x20;

You'll need the following information to set up your Google Drive App with KollaConnect:

* Client ID
* Client Secret
* Scopes

### Prerequisites

* Google account

### Configure Google Project and Consent Screen

1. Open the [Google API Console Credentials](https://console.developers.google.com/apis/credentials) page. You will be prompted to log in to a Google Account. Log in with your Google account.
2. Click on `Select a Project` and choose your project for this integration. If you don't have a project yet, you can create one here. You can name it something like \`Drive Connector\`
3. Go to Library section and search for Drive. Enable the Drive API.
4. Go to `OAuth consent screen` section.
5. Choose "External" as the User Type
6. Fill out the name, logo, and other fields as necessary and click save\
   **Note: you are required to have a privacy policy and terms of service to go public**
7. Choose the scopes you will need for your integration. We recommend `./auth/drive.file` which is not a sensitive scope since it only allows you to see and manage files that you create.
8. Add any test users that you will be trying this on first. Any gmail account you have access to will work.
9. Click `Save and Continue`

### Create Google OAuth Credentials

1. Go to `Credentials` section and click `Create New Credentials` link at the top

2. Select `OAuth Client ID`

3. Choose "Web Application" as the Application Type and name your credentials

4. Add the KollaConnect redirect URL to the Authorized Redirect URIs section:

   ```
   https://connect.getkolla.com/oauth
   ```

5. Note the ClientID and Client Secret for later use

<br>


---

# Agent Instructions: 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:

```
GET https://docs.getkolla.com/kolla/connector-guides/google-drive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
