You need to be logged in as an instructor.
Name the class, then share its unique join code with students.