Courses can be shared with guests. To do this, the course leader must actively share the course and, if necessary, provide the link to the course (and an optional password).
Click on the image for a short video: Set up guest access, here with (optional) password.