There are two routes, both tied to the Arl of Redcliffe.
During that questline you need to free the Arl's son from a demon. If you're playing a mage — and it must be the Warden, not a companion — you can enter the Fade to confront it, and one of the dialogue options is to bargain. The Blood Mage specialization is among the rewards the demon offers.
With Dragon Age: Awakening installed, there's an alternative: buy the Blood Mage manual from the tavern in Amaranthine while you're searching for Kristoff.