A course must be published before access can be granted to end-users. This access is controlled using group memberships.
For instructions, see Publishing a course
There are two ways of providing users access to a course. You can use an existing group, or create a new group.
New group, see Providing users access to a course using a new group
Existing group, see Providing users access to a course using an existing group