Sleeping in crib

How can I get my 3 week old to sleep in her crib. Every time I set her down in her crib she starts crying and won't stop. I've tried swaddling her and that won't help. She only goes to sleep while nursing in my arms and I need sleep. Help!