Help please !

Keyla
so we just got home from the hospital, our first night since she was born. she falls asleep no problem , but as soon as we lay her in her crib she goes crazy until she's laying on us again. is it safe to keep her in this to sleep? we get up every 2-3 hours for feedings so she'll be checked up on. just nervous of SIDS and don't want anything to happen to her 😕