Before! I highly recommend adding it before the cooking process to get the right texture. Additional ghee can be added on top during serving.