How do I enable course self-enrollment with a join code or secret URL?
If your Canvas admin has enabled self enrollment for your institution, you can enable self enrollment in your course. Self-enrollment allows a student to sign up for a course using a secret URL or code. Self-enrollment can be enabled for a course whether or not the course is publicly visible.
Notes:
- If you cannot view the options for self enrollment, your admin has disabled this setting for your institution.
- Instructors are not notified when a student self-enrolls.
Open Settings

Open Course Details

Click the Course Details tab.
Enable Self-Enrollment

Click the Let students self-enroll by sharing with them a secret URL or code checkbox.
Add Join the Course Link

If you want to add an enrollment link to the Course Home Page, click the Add a "Join this Course" link to the course home page checkbox.
Update Course Details

Click the Update Course Details button.
View Self-Enrollment Details

If your institution has enabled Canvas authentication, which allows students to sign up for a Canvas account, you can also view an alternative sign-up option that includes the account URL and join code [2].
[Content retrieved from https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-enable-course-self-enrollment-with-a-join-code-or/ta-p/830]