A crate can be really useful but it can take a little bit of time to train a pup to it so be patient.
Firstly is the crate the right size? It should be large enough for the puppy to stand up, lie down and turn around in comfortably, but much larger than this may be counter-productive for toilet training purposes.
Put the crate in the room you spend most of your time in and move it around if you want the puppy to sleep in another room for example.
Make the crate as inviting as possible, e.g. soft bedding, some dogs like a blanket over the crate others prefer to see out. Create positive associations with the crate, e,g, feed the dog in the crate, praise and reward the dog for going in the crate, give chews in the crate.
Never push the puppy in the crate and for now don't shut the door. Once the puppy is used to the crate you can pick a time when the puppy is settled and close the door for a very short period of time and while you are still in the room - praise and reward for a calm reaction. Repeat little and often.
If you can go through this training now it will help with toilet training, help avoid destructive behaviour, may mitigate separation anxiety, give you a safe place to pop the dog if you need him out of the way and provide stability if you need to move home or take the dog on holiday or to kennels. It's well worth persevering with crate training.