howto deploy to a connected device