# Google Tasks authentication

> To create a connection, you need the following credentials:

## Prerequisites

To create a connection, you need the following credentials:

* Bring your own OAuth 2.0 app: Your application's Client ID and Client secret, and Scopes.

If your account is not enabled by Google:

* Reach out to your administrator for approvals on creating connections.
* Enable permission by checking the options available to allow creating a connection.

## Scopes

The Google Tasks connector requires the following permissions:

* View your tasks and task lists in Google Tasks.
* Edit and organize your lists, tasks and their details.
* Delete your lists, tasks and their details.

The connector requests the following permissions/scopes:

* Bring your own OAuth 2.0 app:
  + Minimal scopes for creating a connection: `openid`, `https://www.googleapis.com/auth/gmail.metadata`.
    :::note
    If you authenticate using Bring your own OAuth 2.0 app, you benefit by default from the scopes configured at app creation.
    If you want to use the default app permissions, you can declare a `common` scope. This means you use only the permissions configured for that application. You can also declare additional scopes at
    connection creation, using the **Scopes** field. You will then be asked to grant the additional consent during sign-in.
    :::
* Minimal list of scopes required for Google Task triggers:
  + `openid`
  + `https://www.googleapis.com/auth/tasks.readonly`

Connecting allows UiPath products to interact with Google Tasks data on your behalf. This may include read, write, modify
and delete data, depending on your Google Tasks permissions. You can always remove any access in your [Google Account](https://myaccount.google.com/permissions).

## Add the Google Tasks connection

1. Select Integration Service from Automation Suite.
2. From the **Connectors** list, select **Google Tasks**. You can also use the search bar to find the connector.
3. Select the **Connect to Google Tasks** button.
4. You are now redirected to the connection page. Select your preferred authentication type.
   If you select Bring your own OAuth 2.0 app, you must provide a Client ID and Client secret, and the Scopes you may need to
   interact with different activities. Check out the activities' documentation to learn what scopes they require.
5. Your connection has been added.
