Begin by pouring about a quarter of the oil into a heated wok or pan.
Add the shallots and fry for one minute.
Add garlic and fry until golden brown
Add star anise, soy sauce, fermented shrimp paste, and fish sauce and stir until incorporated.
Add sugar and chili flakes, and szechuan peppercorns, stir.
Add remaining oil and MSG if using.
Allow to cool, then remove the star anise.
I usually bottle in little bottles we have left over, small pint glasses will work well also. The chili crisp will last several month in the refrigerator.