--- title: "3. Bind Device to User" date: 2019-09-05T23:06:51+08:00 draft: false chapter: false weight: 203 --- In this chapter, scan the QR Code generated from the virtual Smart Lamp simulator to create binding relationship between device and user. 1. Use your Camera or Wechat Application to **scan** the generated QR Code. The QR Code is generated in [Build Smart Lamp Simulator]({{< ref "2.smart-lamp-simulator.md" >}}). 1. The browser will be navigated to a login page, create an account if don't have one. 1. Sign In and it will be navigated to **Device Binding** page 1. Click the **Bind** button ![](/images/smart-home/ui-device-bind.png?width=300) 1. Refresh the page to check if the button's status has changed to **Unbind** 1. Go to [DynamoDB Console](https://console.aws.amazon.com/dynamodb/home?region=us-east-1) to check the item in table named **Device-xxxxxxx**. *thingName* is the name of thing you created, and the *username* is the username field in Cognito User Pool. {{% notice tip %}} Again, the above could be one of the ways to create relationship between devices and users. Alexa does not have requirement for this. It is your own responsibility to design the workflow. {{% /notice %}}