Arduino sketch upload via OTA on MKR WiFi 1010?

Is it possible to upload OTA a sketch to the MKR 1010 in the Arduino IDE? I'm thinking that the ESP32 could receive the sketch data wirelessly via WiFi or Bluetooth, and then transfer it onboard to the SAMD21 via serial port.

Edit: I found 2 options: and

I wish there was a step-by-step guide for newbies.

Note that the stock WiFi101OTA library will not work with the MKR WiFi 1010. Arduino is in the process of adding support to the library for the MKR WiFi 1010 and other boards that use the NINA module, but that has not been released yet:

So you’re probably best off using jandrassy/ArduinoOTA for now. The information in the tutorial should apply well to that library. Just make sure to change:

#include <WiFi101.h>


#include <WiFiNINA.h>