How do you get your toddler to fall asleep?

Megan

Our toddler can only fall asleep if one of us lays next to her. She currently has a king mattress on the floor because she was done with the crib a few months ago. We created a bad habit!

If yours is falling asleep on their own in a big kid bed, how did you teach them? Thanks!