The doughs start off the same: a combination of flour, yeast, water, and sugar. But, after the pretzel dough is shaped, the pretzels are boiled in water with baking soda and then baked. This leads to the shiny, golden color and crackly texture.