The steps are as follows:
- In the IoT Hub blade, select IoT Edge.
- Click on the + Add an IoT Edge device button. This will take you to the Add IoT Edge device wizard.
- Give your device a unique device ID and select Save.
- A new device will be displayed in the middle of the screen. Click on that device and copy its primary connection string:
The next section explains getting a device to talk to the cloud. To do this, you will need the device connection string. The device connection string can be found in the device properties section. Click on the device you want the connection string from and copy the connection string.