How long did it take for your newborn to sleep on her own?

How long did it take for your newborn to sleep in her own bed? My baby is a week old today and has yet to sleep in her crib. She will sleep in her swing or else she just wants to be held! My husband and i are getting no sleep at all. Any advice would be helpful.