I have the Lora868 module;
Just a quick word of advice, if you want to use the module with the LMIC library then you -as mentioned in the article you pointed out to- have to solder the DI0 1 pad of the RA-01 to pin 34 of the M5stack connector.
The pin-out for the Lora868 module:
MISO - 19
MOSI - 23
SCK - 18
NSS - 05
RESET - 26
DIO 0 - 36
DIO 1 - 34 <-- this one is NOT connected when you get your Lora868 module, soldering needed!
If you want to know the physical pinout of the RA-01 (https://docs.ai-thinker.com/_detail/lora/spec/ra-01_picture.png?id=lora)