Under "Users", click "Create invite". Choose the role for the person you are inviting first, then create the invite. It includes a link, an invite code and a QR code, and has an expiry date.
The teacher opens the link or scans the code, signs up with the invite code as prompted, and joins your school.
