---
title: Google Drive
description: Integrate Google Drive with Datadog
breadcrumbs: Docs > Integrations > Google Drive
---

# Google Drive
Supported OS Integration version1.0.0
## Overview{% #overview %}

This integration supports generating incident postmortems in Google Drive.

**Data Collected**: This integration collects Google Drive folder URLs to create a Google Doc on your behalf. Datadog does not retain or use data obtained through Google Drive APIs to develop, improve, or train generalized AI or ML models.

## Setup{% #setup %}

### Installation{% #installation %}

Find the **Google Drive** tile on the [**Integrations** page](https://app.datadoghq.com/integrations) in Datadog, and select **+Install**. Add a google account to the integration tile to get started.

## Permissions{% #permissions %}

Google Drive Integration requires the following OAuth scopes.

### Scopes{% #scopes %}

| Scopes                                       | Request Reason                                                                      |
| -------------------------------------------- | ----------------------------------------------------------------------------------- |
| `https://www.googleapis.com/auth/drive.file` | Create new Drive files containing postmortems on behalf of the user within Datadog. |

### Configuration{% #configuration %}

1. Follow the configuration instructions within the **Google Drive** tile.
1. Grant the integration the Google Drive roles and permissions required to create documents in the target Drive folders. Make sure to check the box on the Google OAuth consent screen to grant Datadog access to your Google Drive.
1. **Note**: The same Google account can only be connected to one Datadog organization at a time.

To set up your Google Drive postmortem template:

1. Go to **Service Management > Incidents > Settings > Postmortem Templates**.
1. Create a new template or modify an existing one.
1. Under the **Save Location** dropdown, select Google Drive.
1. Configure the folder URL field by copying and pasting a folder URL from your Google Drive. Select the Google account the folder belongs to in the account dropdown.
1. Your template will be used when creating postmortems after resolving incidents.

### Usage{% #usage %}

To use the integration for generating Google Drive postmortems, after you resolve an incident, export your postmortem to Google Drive using the correct postmortem template in the pop-up window.

### Removing the Integration{% #removing-the-integration %}

To uninstall the Datadog Google Drive integration, delete all connected google accounts on the integration tile.

## Data Collected{% #data-collected %}

The Google Drive integration collects the account names of Google account users who authorized the integration to access their account. It also collects the folder URLs from the Google Drive folders that users input into Datadog postmortem templates

### Metrics{% #metrics %}

Google Drive does not include any metrics.

### Events{% #events %}

Google Drive does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
