From the console
The fastest path is the console UI:- Create a new workspace from Workspaces → New.
- Open the workspace, then choose Sync from Google Drive in its settings.
- Paste the service account JSON, pick the folder, and trigger the first import.
From the API
Convert any manual workspace into a Google Drive-synced workspace by issuing aPATCH /api/v3/company/workspaces/{id} with a datasource object. Conversion is one-way: you cannot revert a synced workspace back to manual.
service_account_file: JSON-encoded string of your Google service account credentials. The service account needs read access to the target folder.
folder_id(required): the Google Drive folder ID to sync fromrecursive(optional): include subfolders
sync field returned by GET /api/v3/company/workspaces/{id}.
For the full request shape, see PATCH /api/v3/company/workspaces/{id} in the API reference.