> ## Documentation Index
> Fetch the complete documentation index at: https://docs.credentialsportal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging In

> How to sign in to Credentials Portal using a login code or magic link.

Credentials Portal uses **passwordless authentication** — no password to remember. You sign in by verifying your email address.

\[Screenshot: Credentials Portal login page showing the email input field]

## Sign in with a code

<Steps>
  <Step title="Enter your email">
    Go to [app.credentialsportal.com](https://app.credentialsportal.com) and enter your email address, then click **Send Code**.
  </Step>

  <Step title="Check your email">
    You'll receive an email containing a **6-digit code**. Codes are valid for 10 minutes.

    \[Screenshot: Sample login email with the 6-digit code highlighted]
  </Step>

  <Step title="Enter the code">
    Type or paste the 6-digit code into the verification screen and click **Verify**.

    \[Screenshot: 6-digit code entry screen]
  </Step>
</Steps>

## Sign in with a magic link

The login email also includes a **magic link**. Click it to sign in instantly without entering the code manually. Magic links are valid for 30 minutes.

<Tip>
  If you're on mobile, tapping the magic link in your email app is often the fastest way to sign in.
</Tip>

## Session length

Once signed in, your session stays active for **30 days**. You won't need to log in again unless you explicitly sign out or your session expires.

## Sign out

To sign out, open the account menu in the top-right corner of the app and select **Sign Out**.

\[Screenshot: Account menu with the Sign Out option highlighted]

## Troubleshooting

<AccordionGroup>
  <Accordion title="I didn't receive the login email">
    Check your spam or junk folder. If it's not there, make sure you're using the email address your administrator added to your account, then try again. Codes expire after 10 minutes — request a new one if needed.
  </Accordion>

  <Accordion title="My code isn't working">
    Codes expire after 10 minutes. Go back to the login page and request a new code. Each new code invalidates the previous one.
  </Accordion>

  <Accordion title="I can't log in at all">
    Contact your district administrator to confirm your account is active. If you need further help, email [help@credentialsportal.com](mailto:help@credentialsportal.com).
  </Accordion>
</AccordionGroup>
