Co sleeping

Okay, please do not judge me but I have been sleeping with my baby for 9 months now. She was sleeping in her crib when she was first born but after a couple weeks she started choking on saliva, milk, etc for 5 months after all that and I was always scared to let her sleep alone because the choking could always happen randomly and I had to put her on meds. Anyways *knock on wood* she doesn’t choke anymore and she’s to the point where she is crawling all over the bed and I just want her in her own crib. Yes , I’m also aware this will be very hard since she’s most def use to sleeping with me. What are some ways to get her to sleep in her crib? I’ve tried waiting for her to fall asleep, but when I place her in there she starts crying and she’s up again. I’ve tried doing naps in the crib but it didn’t work. I’ve also tried letting her play in her crib so she gets use to it more to sleep in it but I can’t think of anything else. Please help this is my first child so idk what to do