You need XP (experience points) to level up.
 
These can be collected by completing quests, adding or upgrading buildings or hatching dragons.