Cosleeping to crib help

My son (10 m) has been giving me a hard time when it comes to nap/bedtime & wakes up in the middle of the night to comfort nurse & cry’s if I don’t nurse him

so I think it’s time to try and transition him to his crib. I’m not sure how to sleep train him

I put him in his crib (in our room) once he’s asleep but he just wakes up and cries

Which is understandable ofcourse but i don’t think that’s working

Any advice helps

TIA!