It's best to let the water mix and age a while - preferably overnight or for several hours.
Put your water into your mixing bucket, then measure and add your salt. Use a powerhead to mix and aerate the water at the very least until the salt is completely dissolved, but as I mentioned, longer is better.
Be sure to check the specific gravity before using the new saltwater, and make sure it's compatible with your tank.
Jenn