On the TV: Settings β System β Developer options β Wireless debugging β Pair device with pairing code.