There are a variety of ways to get celestial recipes in GW2. The most common way is to purchase them from the Trading Post. You can also get them from crafting, completing certain achievements, or opening certain chests.