> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Workspace

> Set up the Google Workspace resource in Python.

## Dependencies

No additional dependencies - uses `aiohttp` (included).

For credential setup, see the [Google Workspace Setup](/home/setup/google) guide.

## Configuration

```python theme={null}
import os
from mirage.resource.googledocs import GoogleDocsConfig, GoogleDocsResource

config = GoogleDocsConfig(
    client_id=os.environ["GOOGLE_CLIENT_ID"],
    client_secret=os.environ["GOOGLE_CLIENT_SECRET"],
    refresh_token=os.environ["GOOGLE_REFRESH_TOKEN"],
)
resource = GoogleDocsResource(config=config)
```
