Using Badges
Completion requirements
2. Ways to Award Badges
2.2. Awarding a Badge for Cohort Membership
Awarding a Badge for Cohort Membership
Awarding a badge for membership within a certain cohort is very similar to awarding for profile completion. Assuming you have cohorts created at the site level and you have users enrolled, you can create a badge to showcase this enrollment to others.
Your criteria in this case is cohort membership.
Your next step is to select the cohort that you want to connect to this issued badge.
Save your changes and enable access to your badge and the students in your cohort will receive the badge. It will display in their profile as shown below.