dear jm, highly recommend to train the baby sleep alone as soon as possible. I trained my kids to sleep alone from day 1 when they back home from hospital.
My daughter is now 7.5mths and she would fall asleep when I put her back to the cot and close the door, normally she could fall asleep in 10mins.