Badge system in discourse

I think this will also do. But how to assign levels with badge type? I mean where to do it and how?