It takes a bit of work. First, visit Lady Celestia and click the button labeled "Primal Dragon Skills." That leads you into a battle against a titan — win it and you'll earn two skills. To actually unlock the Primal Dragon, click the primal button near the elemental-changing option. Just remember you'll also need to complete all of the Fire War quests beforehand.