Steps
Login to the Care Diary using login page and go to Roster using the left menu. Once you are on the Roster page, click on the button with settings icon(next to add shift button).
Then you will be redirected to the roster settings page.
Click on the Connect button next to the Xero icon.
Then the system will redirect you to a new page where you need to login to your Xero account.
Once you login to Xero, you will be prompted to select an organisation and click Allow access. (In this step you are giving permissions to Care Diary to talk to your Xero account.)
Finally, you will be redirected back to Care Diary. (No action required) You have any successfully linked your Care Diary account with your Xero account.