# Connecting phones

A phone connects to Atlan with a USB cable. It needs USB debugging on, the Android setting that lets a computer control the phone. You can add as many phones as you like. The plan limits only how many of them work at once.

Section: Phones · HTML version: https://atlanbot.com/docs/phones/

## Prepare the phone

1. **Connect the USB cable** Connect the Android phone to the computer and unlock its screen.
2. **Turn on Developer options** Settings > About phone > tap Build number 7 times.
3. **Turn on USB debugging** The switch is in Developer options.
4. **Allow this computer** On the phone, accept the prompt and tick Always allow from this computer.

Can't find a setting? Type its name into the search in the phone's Settings.

## Xiaomi, Redmi and POCO

On these phones (with MIUI or HyperOS) turn on two more switches in Developer options. Then unplug the phone and plug it in again:

- "USB debugging (Security settings)"
- "Install via USB"

Without them the phone does not let Atlan tap, type or install its component. Atlan then pauses automations on that phone and says what is missing. The same happens on phones with a work profile or parental restrictions.

## Add the phone

1. **On the **Devices** page click **Add phone**** Atlan shows **Detected phones**: the connected phones you have not added yet.
2. **Click the phone's tile** A phone marked **Unauthorized** waits for your permission. First accept the USB debugging question on its screen.
3. **Done** The phone appears on the **Devices** list. Now add its accounts: [Platforms and accounts](https://atlanbot.com/docs/platforms.md?lang=en).

![The Detected phones screen: three connected phones, two ready to add and one waiting for USB debugging to be allowed.](https://atlanbot.com/static/docs/docs-phones-en.webp?v=9cc294d28b)

*Detected phones: a phone without debugging permission waits until you allow it. Sample data.*

### I don't see my device

1. Connect the phone with a USB cable and unlock the screen.
2. Enable Developer options: Settings > About phone > tap Build number 7 times.
3. In Developer options, enable USB debugging.
4. Accept the USB debugging prompt on the phone and choose Always allow from this computer.
5. If it is still not visible, change the USB cable or port, set USB mode to File transfer, and click Refresh list.

After a Windows restart, the first phone detection can take a few seconds.

## Naming, removing and several phones at once

The **⋯** menu next to a phone has **Set device name** (up to 80 characters), **Phone settings** and **Remove from device list**. **Phone settings** shows what Atlan sets on this phone: [App settings](https://atlanbot.com/docs/settings.md?lang=en#phones). You cannot remove a phone while something works on it: stop it first. Removing it from the list changes nothing on the phone itself.

Select several phones. The **Selected phones** bar starts, stops or removes them all at once. The `Esc` key clears the selection.

## The phone limit

Your paid plan sets how many phones the agent works on at once. You can add more phones than that. The bottom of the menu on the left shows how many of them work: **Active phone limit**. When the limit is reached, stop another phone or [change your plan](https://atlanbot.com/docs/plans.md?lang=en#change).

## When a phone disappears

| Message | What to do |
| --- | --- |
| Atlan no longer sees this phone through ADB, so it was not added. Connect it with a USB cable, unlock it and try again. | Plug the phone in again, unlock it and check that USB debugging is on. |
| Another program (for example an older Atlan) runs an ADB server of a different version. Close it and try again. | ADB is the tool a computer uses to connect to an Android phone. Click **Close the other ADB**. Atlan then closes the ADB server of the other program, for example an older Atlan or Android's developer tools, and starts its own. |
| Stop the device's active processes before removing it. | Stop the phone, then remove it. |
