How to make molasses, you would typically start by extracting juice from sugar cane or sugar beets. This juice is then boiled until it thickens and the water content evaporates, leaving behind a concentrated syrup. The syrup is further processed and clarified to remove impurities and achieve the desired consistency.
https://www.seriesmaza.com/how-to-make-molasses/