# Add the parents

Parents sign in with a passkey. There are no passwords. The first parent gets an invite link from the server.

## The first parent

1. On the server, make an invite link:
   ```sh
   cd ~/guardian
   docker compose exec guardian pc-admin invite --name "Alex"
   ```
2. Open the link on your phone. It is valid for 24 hours, one time.
3. Select **Create passkey**.
4. On iPhone, open the site in Safari. Select **Share** > **Add to Home Screen**, then open Guardian from the home screen. On iOS, push notifications work only in the home screen app.
5. Go to **Settings** > **Notifications** and turn on **This device**.

## More parents

In the web app, go to **Settings** > **Adults** > **Invite**. Send the link to the other parent.

## Server commands

Run these commands in the server folder:

| Command | Result |
|---|---|
| `docker compose exec guardian pc-admin invite --name "Sam"` | A one-time invite link. |
| `docker compose exec guardian pc-admin adults` | The list of parents. |
| `docker compose exec guardian pc-admin logout "Sam"` | Ends all sessions of a parent. |
| `docker compose exec guardian pc-admin revoke "Sam"` | Removes a parent. |
| `docker compose exec guardian pc-admin devices` | The kid Macs and their status. |

Next: [set up a kid Mac](https://guardian.opendle.com/docs/kid-mac.md).

