Great Tips from our friends at Baxter & Bella!
Puppies typically do best if they are beside our beds at first. This way, they have the comfort of knowing we are nearby. Some puppies, however, will demand more attention if they are next to our beds because they see it as more of an option with us right nearby. Therefore, if you find that your puppy is struggling a lot with sleeping in a crate beside your bed, it is okay to experiment with moving the crate further away from you.
Regardless of crate location, puppies will often still experiment with barking, whining, and pawing at the crate's door. I have raised a lot of puppies. All of them have barked in the crate at first, but all of them have grown to love the crate. Coming home is a big transition for them; the first few nights are often their first time alone. If your puppy is struggling in the crate, try to prevent giving them attention. The most comfort we recommend giving them is putting your fingers through the kennel. If we go to the puppy when they are barking, they are learning that barking is what they should do to get attention. If you go to your puppy while they are in the crate, even for a potty break, always wait for them to be quiet for at least 5-10 seconds before going towards them.