2022-08-02 09:49:28 +03:00
# Connecting an Android client
2024-10-10 15:24:04 +02:00
This documentation has the goal of showing how a user can use the official Android [Tailscale ](https://tailscale.com ) client with headscale.
2022-08-02 09:49:28 +03:00
## Installation
Install the official Tailscale Android client from the [Google Play Store ](https://play.google.com/store/apps/details?id=com.tailscale.ipn ) or [F-Droid ](https://f-droid.org/packages/com.tailscale.ipn/ ).
2025-08-05 12:56:01 +02:00
## Connect via normal, interactive login
2022-08-02 09:49:28 +03:00
2024-09-09 08:57:50 +02:00
- Open the app and select the settings menu in the upper-right corner
- Tap on `Accounts`
- In the kebab menu icon (three dots) in the upper-right corner select `Use an alternate server`
- Enter your server URL (e.g `https://headscale.example.com` ) and follow the instructions
2025-08-05 12:56:01 +02:00
- The client connects automatically as soon as the node registration is complete on headscale. Until then, nothing is
visible in the server logs.
## Connect using a preauthkey
- Open the app and select the settings menu in the upper-right corner
- Tap on `Accounts`
- In the kebab menu icon (three dots) in the upper-right corner select `Use an alternate server`
- Enter your server URL (e.g `https://headscale.example.com` ). If login prompts open, close it and continue
- Open the settings menu in the upper-right corner
- Tap on `Accounts`
- In the kebab menu icon (three dots) in the upper-right corner select `Use an auth key`
- Enter your [preauthkey generated from headscale ](../getting-started.md#using-a-preauthkey )
- If needed, tap `Log in` on the main screen. You should now be connected to your headscale.