Okay, first off, you should put your puppy in the crate, then yes, give it a toys to keep it occupied. Also, it would be a good tip to leave on classical music for you puppy, because he gets lonely. Then, leave the room and do whatever. After a while, when he stops whining, go into the room and reward him. Also, whenever you put your puppy in the crate or he goes obediently, reward him with a treat. He'll soon come to love his crate.