Ingredients: sugar,ghee,water,gram flour (besan)

Homemade Mysore Pak Recipe | Traditional Recipe Made With Ghee, 1-1/4 cups Ghee,1 cup Water,1 cup Gram flour (besan),1-1/4 cups Sugar, 35, Karnataka, To begin making Homemade Mysore Pak Recipe, prep all the ingredients and keep them handy.
Every step comes one after another and hence you need to keep them all ready and handy.Also grease a small rectangular or a square pan which can give you a decent height to be shaped into a Mysore Pak.
Approximately 10 x 6 inches (outer edge) is the size of the pan (inner edge is  9 x 4 inches)In a heavy bottomed preheated over medium heat, roast the besan/ gram flour for about 2 to 3 minutes until you get a roasted aroma from the gram flour.
This will help the raw smell go away from the besan.
Ensure you take care not to allow it to brown or burn.
Once roasted remove it into a bowl and keep aside.In a heavy bottomed non stick pan; add the sugar and water and bring the water to a boil ensuring the sugar dissolves completely in the water.
Keep stirring so that the sugar dissolves well.
Continue to allow the sugar water to boil - after about 4 minutes you will notice that the sugar water is getting bubbly and sticky as well.
It will form a foamy texture.At this stage the consistency of the sugar water will be of a sticky and one string consistency.At this stage, turn the heat to low and add the gram flour into the sugar syrup and keep stirring it continuously so it combines well without any lumps and gets a smooth consistency.
The heat needs to be on low from now on till the end of the making of Mysore Pak.Once the gram flour is combined well, add ghee little at a time and repeat the addition of ghee after 3-4 minutes of stirring.
The 1-1/2 cups of ghee needs to be added in small batches with a space of 3 minutes between each turn.As you keep adding ghee and waiting for the next batch of ghee to be added, ensure that you keep stirring the Mysore Pak.Once the entire mass comes together and looks smooth, add the last portion of ghee and continue to stir till the whole masses rises up like froth and you will notice that the Mysore pak gets a very porous texture where you see the eye holes while stirring.Once it comes to this consistency, remove from the heat and pour the mysore pak mixture into the greased tray.
Bang the tray lightly to allow the mass to spread all over and looks evenly spread.Dip a flat spatula with ghee and spread over the Mysore Pak to level it down and make it smooth from the top.
Continue this light press and spread until the top of the Mysore Pak looks smooth.At this stage, using a knife, cut the Mysore Pak into rectangle or diamond shapes and allow the Mysore Pak to cool down completely.Once completely cooled, gently lift the Mysore Pak pieces out of the pan and serve.Store the Mysore Pak in airtight container for 1 week or in the refrigerator for 2 weeks.Serve Homemade Mysore Pak Recipe as a dessert after Onion Tomato Podi Masala Dosa Recipe and Chutney for breakfast or after lunch.
, https://www.archanaskitchen.com/images/archanaskitchen/0-Archanas-Kitchen-Recipes/2020/Homemade_Mysore_Pak_Recipe_Traditional_Recipe_Made_With_Ghee_15_1600.jpg, 4