> ## Documentation Index
> Fetch the complete documentation index at: https://support.fieldko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Log Out Safely

> Make sure all your work has synced before you log out, switch users, or reinstall the app.

Logging out of the FieldKo Atlas app clears everything stored on your device. Use this page to sync first so your work reaches Salesforce before you log out, switch users, or reinstall the app.

<Warning>
  **Logging out permanently deletes everything stored on your device, including work that hasn't synced.** The app doesn't check for unsynced changes before you log out. Always complete the steps in [Before You Log Out](#before-you-log-out) first.
</Warning>

## Before You Log Out

Sync until nothing is waiting to upload:

<Steps>
  <Step title="Open the Sync Screen">
    In the side menu, tap **Sync**.
  </Step>

  <Step title="Turn On Sync Images and Tap Sync">
    Turn on **Sync Images**, tap **Sync**, and wait for "Sync completed successfully".
  </Step>

  <Step title="Check Pending Changes">
    Under **Pending Changes**, make sure **Total Records** and **Total Images** are both **0**.

    If both are 0, go to [Log Out](#log-out). If either is above 0, don't log out. Fix the problem using [Fix Sync Errors](/troubleshooting/sync-errors). If you can't fix it, [send your data to FieldKo support](/troubleshooting/send-data-to-support) so nothing is lost.
  </Step>
</Steps>

## Log Out

When **Total Records** and **Total Images** are both **0**, log out:

1. In the side menu, tap **Logout** at the bottom.
   * Tip: On a phone, hold the phone in portrait to see this option.
2. Tap **Logout & Clear Data**.

If a sync is running, you see **Sync in Progress** instead. Tap **Wait**, and try again when the sync finishes.

**Force Logout** can discard unsynced changes. Use it only if sync is stuck and FieldKo support has told you to use it.

## What Logging Out Clears

* All offline data, including unsynced records and photos
* All your settings and appearance choices
* All scheduled visit reminders

The next time you log in, the app runs [first-time setup](/getting-started/sign-in#first-time-setup) again.

## Switch Users on a Shared Device

When a different person logs in on a device, the app asks **Switch user?** If you tap **Proceed**, the app deletes the previous user's data **without uploading it**.

Before you hand over a shared device, complete [Before You Log Out](#before-you-log-out) so your work is in Salesforce. If you're the person logging in, check with the previous user that they've synced before you tap **Proceed**.

## See Also

* [Sync Your Data](/sync/sync-screen)
* [Log In and Set Up the App](/getting-started/sign-in)
* [Send Your Data to FieldKo Support](/troubleshooting/send-data-to-support)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.