To unlock the Shaman class in AdventureQuest Worlds, head to the Tower of Magic in Arcangrove.
You'll need to be at least Arcangrove rank 10, and the class costs 50,000 gold to purchase. Once you meet those requirements, you can buy it and start using Shaman.