First you must get licensed and approved to make food for human consumption.
Contact your State's Health Dept. and/or state USDA-FSIS office. They will forward you to whoever is in charge of food production/inspection/approval. They will guide you thru the process of getting a good product to market.
Some highlights:
Your production area will have to be inspected, a.k.a. sinks, utensils, cleaning process,packaging, etc.
Your "recipe" will also have to be tested by a food lab for labeling....protein,fat,carb, fiber etc. (same as the label you see on commercial foods).
You may have to deal with "Weights & Measures" folks as well. Some states are very picky about this....depending on whether you sell by weight or volume.
This will cost you some upfront money but will save you in the long run.
Be careful about internet sales w/o proper licenses. Several folks do it, but they are playing fast and loose. Some states like to do "internet sweeps" on people selling to their state--this can result in either a ban on sales and/or fines.
It only takes one food poisoning lawsuit (real or not) to put you in the poor house, or discredit your product.