She Will Not Sleep Without Me

My daughter is 8 months old and for 2 months she has refused to sleep in her bed and wants to sleep in my bed beside me. I’m trying to put her in her bed, but after a while she gets up, and she starts to cry till I put her beside me.