Taking attendance depends on why you are taking it. If you are taking this for the Mandatory CGPS attendance requirements, that is a separate task done on myPortal. The link below will help walk you through that process
If you are taking attendance in Moodle since you would like to then the link below will take you to the Moodle Instructional Guide Center. There is a tutorial on setting up an Attendance activity in your course(s).