To add dietary flags in Galley, first, enter an ingredient's detail page. Then, click "Select Dietary Flags" to view a list of standard and custom dietary flags. Mark each of the allergens that apply to the ingredient.
Each of the flags that you select will automatically flow into each recipe that uses the given ingredient. You can see this information on each recipe's detail page.