From your project on http://ai2.appinventor.mit.edu or http://code.appinventor.mit.edu, select the AI2 Companion from the Connect menu. A QR code and the corresponding 6 character code will appear. Scan the QR code or type in the characters to connect up your device to the website and start testing.