Buy one from the Cash Shop. Dragon pets are premium items, so real money is involved.
That means a nexon point balance or a subscription that includes it, and the pet then appears in your inventory to be summoned with a key. Pets in MapleStory are primarily convenience — they pick up loot and can be fed to keep them happy — and the dragon is a cosmetic variant on that rather than a combat companion.
Watch for Cash Shop sales, since pet prices are discounted fairly often.