It’s best to get it dissolved in a smaller container away from your main boil, then once dissolved you can add it to the boil.
So weigh out what DME you need then add about 2x the amount of wort to it. Stir it until it’s all dissolved. It might need a touch more wort, but the key is to not have...