This guide shows you how to configure the Google Drive connector for WRITER Agent. After setting up this connector, WRITER Agent can perform operations like listing and searching files, inspecting metadata, creating folders, copying or deleting items, exporting Google formats (PDF, DOCX, CSV), and managing sharing on My Drive and shared drives.Documentation Index
Fetch the complete documentation index at: https://dev.writer.com/llms.txt
Use this file to discover all available pages before exploring further.
Set up the Google Drive connector
Configure the Google Drive connector in AI Studio under Connectors & Tools. The Google Drive connector requires organization-managed OAuth authentication.The Google Drive connector only supports organization-managed OAuth. You must create your own Google Drive OAuth application. Writer-managed OAuth is not available for Google Drive.
Google OAuth credentials expire after 6 months of inactivity. If the Google Drive connector is not used for 6 months, users will need to re-authenticate.
Create a Google OAuth application
Create a new Google OAuth application in the Google Cloud Console:- Navigate to the Google Cloud Console
- Create a new project or select an existing project
- Enable the Google Drive API for your project
- Configure the OAuth consent screen with your application details
- Create OAuth 2.0 credentials (Web application type)
- Add the Writer redirect URI to authorized redirect URIs:
- Configure the required OAuth scopes for your application
- Copy the client ID and client secret for use in AI Studio
Required OAuth scopes
https://www.googleapis.com/auth/drive- Full access to Google Drive files and folders
Configure the connector in AI Studio
- Navigate to Connectors & Tools in AI Studio
- Select the Google Drive connector
- Select who has access by default (all users or specific teams)
- Select the connection type:
- Level: User level (each user authenticates their own account) or org level (shared connection to a single account)
- Select which tools to enable for your agents
- Enter your OAuth client ID and client secret
- Complete the OAuth authorization flow
Next steps
- Set up connectors: Learn how to configure and enable connectors in AI Studio
- Tool calling guide: Understand how AI agents use tools in conversations
- WRITER Agent guide: Learn how to use WRITER Agent with connected tools
- MCP gateway overview: Learn about Writer’s MCP gateway architecture