I have never crate trained b4 and i am gonna be crate training my new lil one

and i was wonderig how i would go about doing this and should i put some treats and toys in it while i am gone or something

thanks for any and all tips