How to enroll only for a specific course?

Hello, how can you make an open registration form for a specific course on the main page?,
Without registering for applicants to the program.

How to achieve this. many thanks.