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

# Logging In

> How to log into your Lena account, reset a forgotten password, and troubleshoot login issues.

Once you have a Lena account — whether you
[signed up yourself](/general/creating-your-account) or your school admin
imported you — you can log in to any Lena app.

<Note>
  **Before you begin:** You need an existing Lena account. If you don't have
  one, see [Creating Your Account](/general/creating-your-account) — you can
  sign up yourself or ask your school admin to import you.
</Note>

***

## How to log in

You can log in using either your **email address** or your **username** — both
work.

<Steps>
  <Step title="Open the login page">
    Go to any Lena app:

    * Students: [student.lena.africa](https://student.lena.africa)
    * Teachers: [teacher.lena.africa](https://teacher.lena.africa)
    * School Admins: [school.lena.africa](https://school.lena.africa)
    * CBT: [cbt.lena.africa](https://cbt.lena.africa)
  </Step>

  <Step title="Enter your credentials">
    Type your **email address or username** and your **password**, then tap **Log In**.

    <Frame caption="Screenshot: Lena login screen">
      <img className="block dark:hidden" src="https://mintcdn.com/lenaafrica/ISsABwDXCBX0o69d/images/placeholder-light.png?fit=max&auto=format&n=ISsABwDXCBX0o69d&q=85&s=8aa659c894fa0cbcd69dca2937f31d5d" alt="Lena login screen with email/username and password fields and a Log In button" width="1600" height="938" data-path="images/placeholder-light.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/lenaafrica/ISsABwDXCBX0o69d/images/placeholder-dark.png?fit=max&auto=format&n=ISsABwDXCBX0o69d&q=85&s=d8ebf01c18a25cc2bcf05b022a7d47a1" alt="Lena login screen with email/username and password fields and a Log In button" width="1600" height="938" data-path="images/placeholder-dark.png" />
    </Frame>

    <Tip>
      **Not sure what your username is?** If you signed up yourself, your email is your login. If your school admin created your account, your username is typically your email prefix, student/staff ID, or `firstname.lastname` — check with your admin if unsure.
    </Tip>
  </Step>

  <Step title="Select your school profile">
    If you belong to multiple schools, you'll be asked to choose which school profile to use for this session. You can switch profiles later. You'll be taken to your dashboard for the selected school.
  </Step>
</Steps>

### First-time login for admin-created accounts

If your school admin created your account via import, your default password is
your **last name in lowercase** (e.g., "Okafor" becomes `okafor`). After logging
in, go to your **profile settings** and change your password to something
secure.

***

## Forgot your password

If you can't remember your password and you have an email address on your
account, you can reset it:

<Steps>
  <Step title="Tap 'Forgot Password'">
    On the login page, tap **Forgot Password** (or **Reset Password**). You'll see a form asking for your email address.
  </Step>

  <Step title="Enter your email">
    Type the email address associated with your account and submit. Lena will send a verification code to that address.
  </Step>

  <Step title="Check your email for an OTP">
    Lena will send a 6-digit one-time password (OTP) code to your email. Enter it on the verification screen.

    <Tip>The OTP expires after 10 minutes. Tap **Resend OTP** if it expires.</Tip>
  </Step>

  <Step title="Set a new password">
    Enter your new password and confirm it. You'll be logged in with the new password and taken to your dashboard.
  </Step>
</Steps>

<Note>
  **No email on your account?** If your admin imported you without an email
  address, you cannot use the Forgot Password flow. Ask your school admin to
  verify your credentials, or log in and change your password from your
  profile settings.
</Note>

***

## Changing your password

To change your password while logged in:

1. Go to your **profile settings**
2. Enter your **current password** and your **new password**
3. Save changes

<Tip>
  You should change your password if you're using the default one from an
  admin import, or if you suspect someone else knows your password.
</Tip>

***

## Staying logged in

Lena keeps you logged in for convenience:

* Your login lasts **7 days** before you need to sign in again
* If you use the app regularly, you may stay logged in for up to **30 days**
* If you're logged out unexpectedly, just log in again — your data is always
  safe on the server

<Note>
  For security, consider logging out when using a shared or public device.
</Note>

***

## Troubleshooting

<Accordion title="I'm getting 'Invalid credentials'">
  * Double-check your email address or username for typos - Make sure Caps
    Lock is off when typing your password - If your account was created by an
    admin, remember that your default password is your **last name in
    lowercase** - If you've forgotten your password, use the **Forgot Password**
    flow above
</Accordion>

<Accordion title="I don't know my username">
  Your username depends on how your account was created: - **Signed up
  yourself** — your email is your login - **Imported by admin** — it's usually
  your email prefix (e.g., `ada.okafor` from `ada.okafor@school.edu`), your
  student/staff ID, or `firstname.lastname`. Ask your school admin if you're
  unsure.
</Accordion>

<Accordion title="I verified my email but still can't log in">
  * Try logging in from the same app where you created your account - Clear
    your browser cache or app data and try again - If the problem persists,
    [contact support](/general/contact-support)
</Accordion>

<Accordion title="I'm logged in but don't see my school">
  You may not have set up a school profile yet. See [School
  Profiles](/general/school-profiles) to add one.
</Accordion>

***

## Related guides

* [Creating Your Account](/general/creating-your-account) — sign up for a Lena
  account
* [School Profiles](/general/school-profiles) — add a school to your account
* [Managing Your Profile](/general/managing-your-profile) — change your password
  or email
* [Troubleshooting](/general/troubleshooting) — more solutions to common issues
