Baby in the room

Emily
How long do you plan on having the baby in your room? I don't want her to get too used to it and not sleep
In her own crib in her own room at night when she's older. But as a ftm I want her in the room with me for her safety and my own peace of mind. When should I make the switch?