You cast the spell, then are ready for targets. If you have two hands free, you can keep your sling and the stones in one hand while you cast. Use your available hand to cast spell and touch your stones. Stones are imbued. Put one stone in sling and shoot.
Ir you have a shield grab warcaster...