Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.72 KB

iot-hub-get-started-create-hub-and-device.md

File metadata and controls

42 lines (27 loc) · 1.72 KB
title description services author ms.service ms.topic ms.date ms.author ms.custom
include file
include file
iot-hub
dominicbetts
iot-hub
include
05/17/2018
dobett
include file

Create an IoT hub

[!INCLUDE iot-hub-create-hub]

Now that you have created an IoT hub, locate the important information that you use to connect devices and applications to your IoT hub.

In your IoT hub navigation menu, open Shared access policies. Select the iothubowner policy, and then copy the Connection string---primary key of your IoT hub. For more information, see Control access to IoT Hub.

Note

You do not need the iothubowner connection string for this set-up tutorial. However, you may need it for some of the tutorials or different IoT scenarios after you complete this set-up.

Get your IoT hub connection string

Register your device in the IoT hub

  1. In your IoT hub navigation menu, open IoT devices, then click Add to register a device in your IoT hub.

    Add a device in the IoT Devices of your IoT hub

  2. Enter a Device ID for the new device. Device IDs are case sensitive.

    [!INCLUDE iot-hub-pii-note-naming-device]

  3. Click Save.

  4. After the device is created, open the device from the list in the IoT devices pane.

  5. Copy the Connection string---primary key to use later.

    Get the device connection string