A 3.6m aperture telescope has been installed at Devasthal recently and once commissioned this would be the largest optical telescope in India. The integration of the telescope was carried out by lifting the components from inside the telescope building. To make this possible, the position of the telescope was shifted by 1.85m from the dome centre at an angle of 255 degree with respect to the north. This posed a serious challenge in synchronizing the dome with the telescope movement. In this contribution we will be presenting the synchronization algorithm and dome control software.