{% extends "base.html" %} {# "Sign in or sign up": the beta emails say "sign up", and this is the page they land on. The first sign-in with an email creates the account (#876). #} {% block title %}Sign in or sign up — CareAgents{% endblock %} {% block bodyclass %}page-setup{% endblock %} {% block content %}
{# Plain words for what this page does. Someone already signed in is here to confirm it's them, not to sign in. #}

{% if code_for_passkey or code_for_invite or code_for_connect %}Confirm it's you{% else %}Sign in or sign up{% endif %}

{% if imessage_pending %}

Sign in to connect your phone to CareAgents.

{% endif %} {% if code_for_passkey %}

To add a passkey, confirm it's you with a code we email.

{% elif code_for_invite %}

To get your invite link, confirm it's you with a code we email. Then you'll go back to Settings.

{% elif code_for_connect %}

To connect your own records, confirm it's you with a code we email. Then you'll go back to your hub.

{% elif resume %} {# A page tapped while signed out is kept (#1016). Never named: no page, agent or topic on a screen anyone at the browser can read. #}

To keep your health information safe, we check it's you first. Enter the code we email you and we'll take you back to the page you opened.

{% else %} {# The emailed code works for everyone; a passkey only for someone who made one (patient walk 2026-10-18), so the code leads. #}

We'll email you an 8-digit code to sign in.

{% endif %}
{# Not on the way to adding one: there is no passkey to use yet. #} {% if not code_for_passkey %}
or
{% endif %} {% if not code_for_passkey %}

New here? The same steps sign you up.

{% endif %}

By continuing you agree to the Terms and Privacy policy.

🔐

Add a passkey

Set up Face ID / Touch ID so next time is one tap.

{% endblock %}