Nightly crate training tips?

My 9-week-old is still trying to get used to sleeping in her crate at night. I have her crate in my bedroom, and the only thing that has helped calm her down is when i sleep on the floor next to her crate. I've read on this sub and r/puppy101 that some people will put the crate on their bed and gradually move the crate further and further away. I sleep on a twin size bed so there is no room for my pup's crate. Is sleeping on the floor next to my puppy a good idea or are there better ways to crate train her at night?