To flash the .ino to the board, connect the board to the USB port, select the port from the dropdown on the IDE, then select the M5Atom board (or M5Stack-ATOM if you have that). Click on upload to flash the board.
Watch this video from Thomas for a step-by-step guide on flashing the ESP32 and connecting the 01.