While the digital world has already made its way into many other production areas, the bakery industry has so far benefited little from these technological developments. This is because many baking processes are manually controlled and rely on expert knowledge. In addition, the process data from the machines is still not automatically captured via sensors. This paper describes a procedure for digitizing baking processes by developing an IoT framework consisting of an IoT device including measurement methods, an edge gateway, and a simulation-based solution for process optimization.