> For the complete documentation index, see [llms.txt](https://doc.cards-microlearning.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.cards-microlearning.com/english/badges-and-certificates/conditions-for-obtaining.md).

# Conditions for obtaining

For users to unlock your badge or certificate, you need to set up rules for getting it.

<figure><img src="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2F6oDjBgxtdIFDPLBYGv6H%2Fbadges-rules.jpg?alt=media&amp;token=81d1dd20-f329-490b-9146-bf53a74a6441" alt=""><figcaption><p>Editing of the rules of obtaining</p></figcaption></figure>

You can choose from the following rules:

* User must complete one or more training courses&#x20;
* User must complete one or more training courses and obtain a certain score
* User must complete a number of training courses
* User must complete one or more routines
* User must complete one or more routines and obtain a certain score
* User must reach a place in the ranking of a group&#x20;
* User must obtain one or more other certifications (badges or certificates)
* User must obtain a number of badges
* User must obtain a number of certificates
* User must reach a certain percentage of progression
* User must belong to a group.

These rules can be combined. For example, you can decide that a badge is obtained if the user completes a training **AND** already has another badge.

{% hint style="info" %}
If you add the "Is part of a group" condition, this badge/certificate will only appear in teaser mode if the user belongs to the selected group. This prevents the display of badges or certificates that the user cannot earn.
{% endhint %}
