Co sleeping advice please

I’m a single first time mom. With no family, no friends. Just me and my baby.

My baby is 3 weeks old. He’s such a great baby. Just at night time, he has trouble staying asleep in his crib (it’s in my room). He will only be able to fall asleep in my arms, and when I put him down he will be awake in the next 5-10 mins. He just won’t be able to stay asleep. I tried everything. Im really nervous about him sleeping in my bed but i know he will sleep much better there. Im desperate to get sleep and i know my baby needs sleep as much as I do. I can hardly function during the day. Is something like this okay to ur for co sleeping?

Please no hate. I’m just desperate