Knowledge base

Connecting to Xero

This is an in-depth look at connecting your Xero data to SyncHub. ### In this article... 1. Getting connected 2. Data flow diagram 3. FAQs 4. Next steps ### Getting connected 1. Select **Connections** from the main menu. 2. Click the **New** button. 3. Select **Xero**. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=39e9b358-cba3-42ad-be04-ecae83a99a35&clientID=4&) 4. Give it a name (this is especially useful if you’re creating multiple Xero connections). ![](https://api.synchub.io/Media/RenderFile?&documentGuid=b385d722-fc08-4fba-9e93-5cfd9df93a86&clientID=4&) 5. Click **Proceed to the Xero authorization page** to connect. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=ab5212f8-dddc-4d87-8750-6caaf7698f97&clientID=4&) 6. If you are not currently logged in to your Xero account, you will be prompted to log in. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=5f1caa35-9b18-4efd-a43a-e5e678e8ab63&clientID=4&) 7. In the dropdown, select the Xero account you would like to connect to and click **Allow access** to authorise SyncHub to access your Xero data. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=3f0174db-e354-4dbf-b0f4-857c30347a35&clientID=20&) 9. If your Xero account has multiple tenants, SyncHub will prompt you to select which one you wish to integrate with. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=5b1cf5e3-719c-4a18-a08f-9a1d094a3514&clientID=20&) 10. Done. Now watch as SyncHub begins [retrieving your historical data](/kb/importingyourhistoricaldata?api=). ### Data flow diagram ![](https://api.synchub.io/Media/RenderFile?&documentGuid=45e63663-2ab3-4af8-93f9-d608b72ba2d7&clientID=4&) Specifically, SyncHub will map the following Xero endpoints to their own tables in your data warehouse: ![](https://api.synchub.io/Media/RenderFile?&documentGuid=6f485b30-c969-4752-8f84-c02a438548b5&clientID=4&) ### FAQs ####How frequently is my Xero data synced? The sync frequency (AKA run frequency) is set based on your plan. Check out [our plans](https://www.synchub.io/pricing). ####Can I connect multiple Xero accounts? Yes, if you have [a plan](https://www.synchub.io/pricing) that allows for multiple connections then you can add additional Xero connections by completing the steps above for each connection. ####How do I disconnect from Xero? To disconnect from within SyncHub, click the **Disconnect** button on the connection dashboard of the Xero connection you would like to delete. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=63084dfc-0df0-4845-928d-fda0ea76c91c&clientID=4&) To disconnect from within Xero, follow these steps: 1. Click on the organisation name and select **Settings**. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=0e55bbea-8b81-4e30-81b4-d332caba4210&clientID=4&) 2. Click **Connected Apps**. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=048c06c2-513d-480c-902e-d4b76803807f&clientID=4&) 3. On the Connected tab, click **Disconnect** next to SyncHub. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=2c681425-b622-41a0-8408-28fac683be26&clientID=4&) 4. Click **Disconnect App** to confirm. ![](https://api.synchub.io/Media/RenderFile?&documentGuid=7b8d7b3e-84e8-48d6-8e4a-ff7ec3d91152&clientID=4&) ####How far back does my data go? By default SyncHub will only fetch the last few months of data from Xero, but you can [backdate the sync](/kb/importingyourhistoricaldata?api=) and pull in all historical data. ####How do I configure what data is synced? SyncHub will automatically sync data from all endpoints/data tables available – see the diagram above for the full list. If you would like to remove any tables, simply go to your [connection dashboard](/kb/connectiondashboardsexplained?api=), click on the table name and click Deactivate. ### Next steps You may now connect to your new data warehouse using the reporting tool of your choice. You can also learn more about [how SyncHub works](/kb/howsynchubworks?api=) and [how to adjust your connection settings](/kb/connectiondashboardsexplained?api=).