Your melee attacks have a chance to grant Mana.
Log in with Battle.net to track your character's progress here.