Students can both join your school account and enroll in a specific class using class codes. Class codes can be activated on a per-class basis.
From the student interface, there will be a + Join a class option on the homepage. Once clicked, the student will be able to enter the class code in order to be added to the class.