I like using the clay bar after the car has been washed and rinsed off and right before drying it. You can even add a tiny amount of car soap to make it glide easier, but you'll need to do a quick re-rinse to get the soap film off.

The detail spray gets used up quickly doing a whole vehicle so I just use water instead.