# Sync with Google Drive

Source: https://wire.ia.br/documentation/en/guia/sincronizar

> Connect once per device and Paper keeps your phone and computer the same.



Paper saves everything on the device first. Sync copies each page to the **Paper** folder of your Google Drive and brings back what changed on another device.

## Connect [#connect]

<Steps>
  <Step>
    Open **Settings → Sync** and tap **Connect Google on this device**.
  </Step>

  <Step>
    A Google window opens. Pick the account and accept. Paper only asks for access to the files it creates itself in Drive and to its own calendar called Paper. It can't see the rest of your Drive or your other calendars.
  </Step>

  <Step>
    Done. The connection stays saved on this device and doesn't expire on its own. Repeat once on each device you use.
  </Step>
</Steps>

## What it looks like in Drive [#what-it-looks-like-in-drive]

```txt
Paper/                     ← main vault
  Start here.md
  Guides/
    Coming from Obsidian.md
  Anexos/
    a1b2c3d4e5-photo.png
Paper · Work/              ← another vault
  ...
```

The main vault lives in the **Paper** folder, and each other vault gets its own, **Paper · vault name**. Each Paper folder becomes a Drive folder, and each page becomes a `.md` file any editor opens. Attachments go to the `Anexos` subfolder (the name stays the same in every language, so links keep working).

If the same page changes on two devices before syncing, the version from the device that synced last stays, and the other becomes a "(other version)" copy. Nothing is lost.

## If you see "Not connected yet" [#if-you-see-not-connected-yet]

Google may cut off access if you change your Google account password, remove Paper at [myaccount.google.com/permissions](https://myaccount.google.com/permissions) or go many months without using it. In those cases, tap **Connect** again. Nothing is lost: what you wrote meanwhile stays on the device and goes up as soon as the connection is back.

Without internet, Paper keeps saving on the device and tries to sync again on its own when the connection comes back.

## Disconnect [#disconnect]

In **Settings → Integrations**, **Disconnect Google** deletes this device's connection and tells Google to cancel the access. The files already in your Drive stay there.

## Who keeps the connection [#who-keeps-the-connection]

The key that keeps the connection lives on your device, sealed: only the Paper server can open it, and only at the moment of renewing access. The server doesn't keep this key, unless you turn on [developer mode](/en/api/modo-desenvolvedor) and authorize the API to use your Drive.
