# Sign in

The three ways in, what the invitation means, the two-Macs-and-an-iPhone rule, and signing out.

Copilka needs an account. The sign-in screen covers the whole window until you are in, and nothing of the library shows through it. The same account works on your Macs and your iPhone.

## Three ways in

The screen says **Get started with Copilka** and **Continue with**:

- **Google** or **GitHub.** Your default browser opens on Copilka's own sign-in page, which hands you to Google or GitHub and back. The status reads *Continuing with Google…* meanwhile. The browser page says *Signed in. Returning you to Copilka…* and offers **Open Copilka** in case it does not switch back by itself.
- **Email.** Type your address in the **Email** field and press the arrow. The screen changes to **Check your email**: *Enter the six digits sent to you@example.com.* Paste the code or type it; the sixth digit submits. **Send again** sends another code, **Go back** returns to the start.

A **Last used** badge marks whichever way you used last time on this Mac.

The code email comes from *Copilka* at no-reply@lumilay.com with the subject *123456 is your Copilka sign-in code*. A code works for fifteen minutes, once. You can ask for five codes an hour; ten wrong guesses in a quarter of an hour lock the address for a few minutes. If you did not ask for a code, nobody has your account: ignore the email.

Signing in with Google or GitHub and with an email code lands you in the same account, as long as the address is the same.

## Invite only

Copilka is not open for new accounts. An invitation is tied to an email address, and only an invited address can sign in.

- With **email**, an address that has no invitation gets no code. The screen still says *Check your email*, deliberately, so that nobody can probe which addresses are in.
- With **Google** or **GitHub**, an uninvited address is told: *Copilka is not open for new accounts.*

If you were invited and no code arrives, check the address you typed against the one the invitation went to, then the spam folder. See [Troubleshooting](https://docs.copilka.app/reference/troubleshooting/).

## Two Macs and one iPhone

An account covers two Macs and one iPhone at a time. Signing in on a third Mac, or a second iPhone, stops on a card:

> **Another Mac is signed in**
>
> Maksim's MacBook Pro is on this account, which covers two Macs and one iPhone — and it is the one used longest ago. Replacing it signs that Mac out; this one takes its place.

**Replace** does exactly that: the other device is signed out the next time it checks in, and this one takes its place. **Cancel** leaves everything as it was. Devices are named after the computer name in System Settings → Sharing, or the iPhone's name.

You can also remove a device by hand from Settings → Account → **Other devices**. See [Devices](https://docs.copilka.app/sync/devices/).

## After signing in

*Welcome aboard!* for a new account, with confetti, or *Welcome back.* Then the library.

Your session is kept in the login keychain and does not expire on its own. Copilka checks in with the service once a day for what your plan allows; without a network, what it last learned stays valid for two weeks. If the service ends the session, for instance because you replaced this Mac from another one, the screen comes back with *This Mac was signed out.*

## Signing out

Settings → Account → **Sign Out**. On the iPhone it is at the bottom of the Account page. Signing out ends this device's session and brings the sign-in screen back. The library on the device is not touched.

## On the iPhone

The phone's gate is the same, with **Continue with Google**, **Continue with GitHub** and an **Email** field. See [Copilka on iPhone](https://docs.copilka.app/iphone/#signing-in).

---

This page: https://docs.copilka.app/start/sign-in/ · As Markdown: https://docs.copilka.app/start/sign-in.md · Every page: https://docs.copilka.app/llms.txt
