The document describes using design of experiments (DoE) techniques to optimize the rosin extraction process from cannabis. DoE was used to study how temperature, pressure, time, and actuation speed affect yield and quality. Temperature had the largest influence, with higher temperatures increasing yield but decreasing quality. The optimal conditions found balanced high yield with high quality. DoE allowed for an efficient process to produce rosin at scale with minimal waste and consistent, high-quality product.