Anyone gone from bedsharing transition to crib?

I’m bed sharing and wanting to transition to crib.

Started bed sharing because I go to my sisters house often and she doesn’t have a crib there. baby grew out of his bassinet.

Now we are used to bedsharing and he cries if I leave his side while sleeping 🤦🏻‍♀️

Any tips for the transition?