A parent can register to a class only through invitation. The invitations are sent by the teachers, contact your teacher if you have not received an invite.
The teacher can send an invitation via email or as invitation code to a parent. Please follow the article based on the mode of invitation from your teacher.
I have invitation email from the teacher
I have invitation token/code from the teacher