<!--
  Translated by the docs agent from content-src/es/integrations/google-drive/03-en-google-drive-compartir-archivos-o-una-carpeta.md
  (source_hash 3ee139500944). If that Spanish source_hash changes, re-check this translation.
-->

**Requirements:** being the owner or having permission to share (section 2).

1. Open **Google Drive** and find the file or folder you want to sync.
2. Click the **Share** button (right-click → Share, or the person icon with "+").
3. Enter the **service account email** Platform shows you in the first step of the connect modal (section 4) — it has the format `…@proyecto.iam.gserviceaccount.com`.
4. **Viewer** permission is enough to sync to the knowledge base — no need to give it Editor.
5. Click **Send** or **Share** to confirm.

> **Note — Sharing a folder includes what's inside it**
>
> If you share a whole folder, access is inherited by every file it contains — no need to share each file individually if it's already inside a shared folder.

Verified against Google's official documentation (`support.google.com/docs/answer/2494822`, checked on September 5, 2026).