Skip to main content

Setup Agent

In this step of our Quicstart Guide we will deploy a DSK Edge Agent with a DSK Edge Simulated Sensor/Source and link it to our Data Owner Node.

Deploy DSK Edge Agent & Simulated Sensor#

Use the "Deploy to Azure" button directly below to create a Linux virtual machine on Azure with everything pre-installed/configured and the Tributech DSK Edge services up and running. Preview the Azure resources that will be created with the "Visualize" button.
Deploy to Azure Visualize

  • Select desired Azure Subscription/Resource Group/Region and define the name for the Agent related Azure resources (VM, Network security group,...). The Agent name must be unique within your Resource Group. Agent deployment - Provide basic data

  • Define virtual machine Size and authentication related properties.
    The Size needs to meet our Hardware Requirements. We recommend e.g. Standard_B1ms or Standard_DS1_v2.
    SSH access allows to connect to the VM for management purposes and to support SSH tunneling/port forwarding used for connections to the DSK Agent from the Agent Companion (see Connect to Edge Agent).
    Agent deployment - Provide VM data

  • Provide DSK related configuration:

    • DSK Agent id: globally unique identifier (UUID) for the Agent
    • DSK Hub name: The name of the DSK Hub to which your DSK Node is connected.
      (e.g. your-hub for

      For our Playground Ecosystem this is

    • DSK Node name: The name of your DSK Node to which the DSK Agent will be linked.
      (e.g. your-node for
    • Data-API client secret: The client secret for the authentication at the Data-API of the DSK Node.
      To access the client secrets:
      • Login to the DataspaceAdmin
      • Click on your account (top right) and than Administration API Keys - 1
      • Go to API Keys API Keys - 2
    • Trust-API client secret: The client secret for the authentication at the Trust-API of the DSK Node.
    • Docker Registry token name: The name of the token used for authentication at the private Docker Registry hosting the DSK Agent Docker images. Default: tributech-io-dsk-edge.
    • Docker Registry access token: The access token for authentication at the private Docker Registry hosting the DSK Agent Docker images.

      The access token will currently be provided to you as part of the playground sign-up email. Head over to and sign-up if you're interested.

    • Docker Image Tag: The Docker Image tag defining the DSK Agent version to be deployed.
    • Additional DSK Edge services:

    Agent deployment - Provide DSK data

  • Review terms and provided input and create the Azure resources. Agent deployment - Review + Create

  • Successful deployment🎉. Agent deployment - Successful deployment

  • Output of the deployment showing sample command to connect to the VM using SSH incl. port forwarding for access to the DSK Agent (e.g. for the Agent Companion). Agent deployment - Deployment output

  • You can now continue with connecting to, linking & configuring the DSK Edge Agent.

Link & Configure with Agent Companion#

After the DSK Edge Agent is deployed and running we need to link it to our Node and configure it.

Download & Run#

More information on Downloading & Running the Agent Companion.


Login to DSK Node#

  • Click Login (top right corner).
  • Enter the name/domain of your DSK Hub and DSK Node and click Login (below).
    (The provided information defines to which DSK Node an DSK Agent will be connected during the linking process.) AgentCompanion - Login 1
  • A window with the login page of the authentication server will pop-up where you can sign in with your personal user account of your DSK Node. AgentCompanion - Login 2
  • The window will be closed on successful login and the Agent Companion will be connected to the DSK Node (indicated by the green sign on top right at the DSK Node name). AgentCompanion - Login 3

Connect & Link#

  • We need to be able to connect to the API of the DSK Edge Agent to link & configure it with the Agent Companion.
    Our recommended option is to open an SSH connection to the deployed virtual machine of the DSK Edge Agent with an SSH tunnel/port forwarding for the remote port of the API forwarding it to an local port on your localhost.
ssh <vm-user>@<vm-ip> -L <local-port>:localhost:5000# e.g.ssh tributech@ -L 5000:localhost:5000

AgentCompanion - Connect 1

  • After the SSH connection with the tunnel/port forwarding is established we ca connect to the DSK Edge Agent with the Agent-Companion.
    (e.g. http://localhost:5000) AgentCompanion - Connect 2
  • By linking the DSK Edge Agent all metadata for the agent is created on the DSK Node and we establish the trust between the parties. We need to be logged in to the desired target Node and connected to the DSK Edge Agent (indicated by the green signs on the top right). AgentCompanion - Link 1
  • Click on Link/Relink Agent AgentCompanion - Link 2
  • The next step after linking is to configure the DSK Edge Agent AgentCompanion - Link 3
  • The DSK Edge Agent can now be configured based on twins with our twin builder. AgentCompanion - Link 4


We can now configure our DSK Edge Agent using a twin based configuration.

  • As a simple starting point for our example scenario we can import the Steel Factory Plant Line template. AgentCompanion - Configure 1
  • The Steel Factory Plant Line template provides a full example twin configuration for the DSK Edge Agent and Simulated Sensor/Source which you can adapt to your desire. AgentCompanion - Configure 2
  • After we are finished with defining our twin configuration we need to Upload To Device and verify it was Successfully applied. AgentCompanion - Configure 3

Verify in DataSpace-Admin#

After our DSK Edge Agent and Simulated Sensor/Source was deployed, linked and configured, it will be present on the DSK Node as Agent including an auto-generated Dataset.


  • The linked agent should be listed under Agents. DataSpace-Admin - Agent - Verify 1
  • The streams should be available according to the twin configuration. DataSpace-Admin - Agent - Verify 2
  • Availability of (recent) data for streams can be verified. DataSpace-Admin - Agent - Verify 3DataSpace-Admin - Agent - Verify 4


  • A auto-generated dataset for the Agent should be present under My DatasetsDataSpace-Admin - Dataset - Verify 1
  • With streams according to the twin configuration of the Agent. DataSpace-Admin - Dataset - Verify 2
  • Availability of (recent) data for streams can be verified. DataSpace-Admin - Dataset - Verify 3DataSpace-Admin - Dataset - Verify 4