--- title: "Linking a new gateway to an asset" slug: "linking-a-new-gateway-to-an-asset" updated: 2026-01-09T14:33:23Z published: 2026-01-09T14:33:23Z canonical: "docs.calculus.group/linking-a-new-gateway-to-an-asset" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.calculus.group/llms.txt > Use this file to discover all available pages before exploring further. # Linking a new gateway to an asset Data sources provide your assets with the information that is displayed to the user. The data comes from the gateway that is connected to your asset. If you change the gateway that’s installed in your machine, you can easily change the datasources that your asset is using. ## Instructions Click **Assets** in the navigation menu. ![](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 14-34-59.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) Click on the asset whose data source you want to change and go to the **Data Sources** tab. ![Editing asset details including data sources and engine information in a management interface.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-23-27.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) If the **Swap data source** button is available, click it to change the data sources. In some cases, this button is not available. Follow the instructions in the subsection [Manually Exchange Data Sources](/v1/docs/linking-a-new-gateway-to-an-asset#manually-exchange-data-sources). ![Interface for editing asset settings and swapping data sources in a management system.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-32-54.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) Enter the serial number of the new gateway in the **With** field, and click the **Swap** button. If there has never been a gateway associated with this asset before, the **Replace** field will be empty. A new tab will open where you can check the changes. Click **Confirm** if the changes are correct. If you add a data source from another gateway, the smart gateway swap button will no longer be available. If the swap is not 100% successful, you will also receive a notification. ![Pending changes notification for data source mapping in asset management interface.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-40-34.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) The data sources that can be successfully exchanged will also be exchanged. For data sources where this is not possible, they must be entered manually. ## Manually exchange data sources The instructions in this section should only be executed if the **Swap data source** button is not available or if you prefer to make the data source adjustments manually. Click on the **pencil icon** next to the data source name and click on **Add data source**. ![Overview of data sources with highlighted engine details and time range selection options.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-44-32.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) If you hover your mouse over a data source, the raw address appears in a black bar with the slave ID at the end. When adding a new data source, the date enters when it was built-in. To do this, activate the toggle button **Use start date**. Then you can select a date. ![Overview of data source settings with options for start and end dates.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-53-43.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) Enter an end date for the old gateway. This is the date on which it was replaced. You can enter an end date by clicking on the timeline of the old gateway. ![User interface for selecting a data source and date in a software application.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-55-49.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) Activate the **Use end date** toggle switch and select a date. Then press **Save**. ## Advanced data source management Some assets require data from multiple gateways and/or data sources. To edit a specific data source, click on the **pencil icon** to the right of the data source. Next, the page for advanced data source management appears. ![](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-44-32.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) You can add a new data source using the **Add data source** button. ## Add data source Click the **Add Data Source** button. You can add any data source to your asset via this tab. ![](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-11 17-53-43.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) You can select a start and end date for that data source. If you do not want this, simply turn off **Use start date**. ## Adjust data source You can manage data sources by clicking on the horizontal bar of the data source. ![Overview of data sources with options to edit, stop, or remove data.](https://cdn.document360.io/94d0a983-5058-4b02-8d06-1228a999a7a1/Images/Documentation/2025-08-12 09-09-11.png?sv=2026-02-06&spr=https&st=2026-11-11T13%3A40%3A39Z&se=2026-11-11T14%3A40%3A39Z&sr=c&sp=r&sig=6DOmVPj6TWNpOSFmAWX6UP6x9L0WjYsoE5dzUdJv0n4%3D) When you click on **Edit**, a tab will open where you can edit the selected data source. By clicking **Stop**, the data source will no longer send new data to this asset. It may take a few minutes for this action to be fully visible everywhere. You can also **Remove** a data source. When you remove a data source from an asset, that asset will behave as if it was never linked to the data source. Old data from this data source will no longer be displayed in this asset.