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

# Keep the Gateway Running

> What a gateway needs to collect and upload unattended, and what happens on sign-out, restart, and reboot

A gateway collects data only while the desktop app runs, and uploads only while someone from the owning organization is signed in.

| Situation | Collection | Uploads |
| - | - | - |
| App running, signed in | Continues | Continue |
| Window closed | Continues (the app keeps running in the tray) | Continue |
| Signed out, or signed in to another organization | Continues, unless [Sign out when idle](#shared-computers) is on | Paused, status Uploads paused |
| Network outage | Continues | Retry automatically |
| App quit, computer off, or Windows user signed out | Stops | Stop; queued data uploads when the app runs again |

The web app shows the gateway as Online only in the first two cases.

## Unattended Collection

* **Stay signed in.** Your Atomscale session persists across app restarts.
* **Close the window, don't quit.** Closing the window keeps Atomscale running in the system tray. Click the tray icon to reopen it. Quitting while integrations are collecting asks for confirmation first.
* **Leave Open at Login on.** The tray menu's **Open at Login** is on by default, so the app starts when the Windows user signs in.
* **Sign in to Windows after a reboot.** The app runs as a Windows user, so it starts only once that user signs in. Integrations that were running then start again automatically. Consider Windows automatic sign-in, or a lab procedure to sign in after updates.

## Shared Computers

On an instrument computer that several people use, turn on **Settings > Application > Multi-user facility > Sign out when idle**. Atomscale then signs out automatically once acquisition has been idle for the **Idle timeout** (15 minutes by default; 1 to 60 minutes).

* Integrations stop when it signs out, and the ones that were running restart when someone signs in again.
* The setting applies to everyone who uses Atomscale on this computer.
* After the app restarts, someone must sign in before collection resumes.

Leave it off on a dedicated gateway that should collect around the clock.


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