No prerequisite required.
The ideal training environment is wherever your puppy engages in the behavior.
Practice this every time your puppy starts to nip. Play with toys to make them more fun and to help your pup understand they can be a great way to interact with you.