Sleeping habits

My one week old prefers to sleep in my arms. When laying her to bed, she gets fussy than wants to nurse again other times falls asleep on me, then I have peace. How do I break the pattern and let her sleep in her crib?