Someone set up an HQ server for you. This page covers what you do on your side. You won’t need a terminal.
Before the server joins (about 10 minutes)
HQ is private: only devices on your own Tailscale network can open it.
- Create a free account at tailscale.com.
- In the Tailscale admin console, open DNS. Turn on MagicDNS, then HTTPS Certificates. HQ can’t publish itself without both.
- Install the Tailscale app on your phone and on any computer you’ll use, and sign in to the same account on each.
- Tell the person setting up your server when you’re ready. They’ll send you a Tailscale sign-in link: open it and approve the server.
Once the server shows up in your Tailscale admin console, open its menu and choose Disable key expiry. Otherwise it drops off your network after 180 days and needs the setup person again.
Signing in
You’ll receive an HQ login link that ends in #token=.... Treat it like a password. Anyone
on your Tailscale network who has it can use your HQ until you sign it out (see “Signing a device
out” below).
- With Tailscale on, open the link. HQ remembers the sign-in on that browser.
- The first time, HQ asks for a model key: an OpenRouter, Anthropic or Google AI key. The page links to where you get one.
- The home screen then shows a Get started checklist: open HQ on your phone, connect Telegram or Discord, and turn on notifications (when the server has push turned on). Each step links to the right place. On a computer, tap Mark done once your phone is set up. Hide puts the list away on that device, and it goes away by itself once every step is done.
Changing your model key
If a key runs out of credit, is revoked, or you want to add another provider, open Settings and find Provider keys. Press Replace next to the provider (or Add if it has no key yet), paste the new key and press Test and save. HQ checks the key with the provider first and keeps the old one if the new one doesn’t work. Your next message uses the new key, and the model you chose stays the same.
A provider marked Set by the server’s environment gets its key from the server’s own setup, so it can’t be changed from the app. Ask whoever set up your server.
Putting HQ on your phone’s home screen
- iPhone (Safari): open HQ, tap Share, then Add to Home Screen.
- Android (Chrome): open HQ, tap the menu, then Install app or Add to Home screen.
If the installed app asks you to sign in, paste the same login link into the box it shows, or use a code from another device (next section).
Signing in on another device
Your login link signs in one browser. To add a phone, a tablet or another computer, use a device that is already signed in. The new device needs Tailscale on and signed in to your account first.
- On the signed-in device, open Settings and find Devices.
- Press Sign in another device. HQ shows a code like
ABCDE-FGH2Jand a QR code. - On the new device, either scan the QR code with the camera and open the link, or open HQ and type the code into the Sign in to HQ box. Capitals, spaces and the hyphen don’t matter.
The code works once and lasts ten minutes. New code gives you another and stops the old one. After five wrong tries, wait a few minutes.
The QR code holds the same one-time code, so it signs in one device, once. Show it only to your own devices, and press Hide when you’re done. When a device signs in, HQ tells you in its inbox (and on your phone, if notifications are on). If you didn’t expect that, sign that device out (next section).
Signing a device out
Settings, Devices lists every device that signed in with a code, a QR code or /login,
with when it signed in and when it was last used. The one you are holding says this device.
- A lost or sold phone: press Sign out next to it. Its next request is refused, and the other devices stay signed in.
- Sign out everywhere: use this when you can’t tell which device is which, or a login link
was shared by mistake. HQ signs out every device and the original link from whoever set up your
server. The device you pressed it on is signed back in at once; every other phone, browser and
home-screen app shows Sign in to HQ and needs a code from this device,
/loginfrom your chat app, or a new link. HQ sends you a notice when it happens. It also stops notifications on every other device and disconnects Claude (claude.ai), so connect Claude again afterwards.
If someone else signs you out everywhere, send /login to your HQ bot, or ask whoever runs your
server for a new link, then sign out everywhere again.
Connect Telegram or Discord
You can talk to HQ from Telegram or Discord as well as the web app. Everything happens in HQ: open Settings and scroll to Chat apps.
Telegram (about 3 minutes)
- In Telegram, open @BotFather and send
/newbot. Give your bot a name, then a username that ends inbot. BotFather sends you a token. - Paste the token into the Telegram card and press Check token. HQ shows your bot’s name.
- Press Save and restart. HQ restarts by itself, which takes a few seconds.
- Press Pair my Telegram, then Open in Telegram, then Start. HQ now answers you, and only you, in that chat.
Discord (about 5 minutes)
- Open the Discord developer portal, choose New Application, open Bot and press Reset Token. Copy the token.
- On the same page, turn on Message Content Intent and save. Without it the bot can’t read your messages.
- Paste the token into the Discord card, press Check token, then Save and restart.
- Use Open the invite link to add the bot to a server you own.
- Press Pair my Discord and send the bot the
!pairmessage the card shows, in a direct message.
A pairing code lasts 15 minutes. If it runs out, press the pair button again. If the card says HQ can’t restart itself, ask the person who set up your server to restart it.
If you’re signed out
HQ shows a Sign in to HQ box. Paste your login link there, or enter a code from a device that is still signed in (Signing in on another device).
If you’ve lost the link and your HQ bot is connected on Telegram or Discord, ask it for the link. Anyone with the link can sign in as you, so keep it out of chat history:
- Telegram: send
/loginto the bot in a private chat. Delete its reply once you’ve used it. - Discord: in a direct message to the bot, type
/loginand pick the slash command. Only you see the reply, and Discord doesn’t keep it.
Otherwise, ask the person who set up your server for a new link. (For them: “Making a new
login link” in docs/HETZNER.md.)
When something looks wrong
| You see | What to do |
|---|---|
| Can’t reach your HQ | Switch Tailscale on, on this device, and tap Try again. If Tailscale is on, wait a minute (HQ may be updating). Still nothing: check your HQ server shows as connected in the Tailscale admin console, and if it doesn’t, ask whoever set it up. |
| A chat reply says the key was refused, is out of credit or hit a limit | Replace the key: see Changing your model key. |
| This device is offline | You have no internet. HQ shows what it saved and reconnects by itself. |
| Sign in to HQ | Paste your login link into the box. Lost it? See If you’re signed out. |
| Your Telegram or Discord bot doesn’t answer | Open Settings, Chat apps. The card shows whether the bot is running and paired, and lets you check the token, pair again or restart HQ. |
| A page won’t open at all, not even saved data | Same as “Can’t reach your HQ”: Tailscale first. |