Connecting TBeam to LoRa Wan

I am trying to forward sensor readings to a RAK LoRa gateway that then forwards the data to TTN. I have previously used LoRa p2p with the TBeam and it has worked fine.

My issue is I can’t find any examples/guidance on connecting to LoRa wan with the T-Beam. Does anyone know where I can find a sample code of some sort that I can use to modify to suit my requirements?

In arduino, when I go to examples–>Heltec ESP32 Dev boards–>LoRaWAN–>LoRaWan/LoRaWan GHTV3 uplink, I see some sample codes that I feel like is what I am looking for but when I am going through the code, I cannot find any pin definitions or anything. Is this the code I need to use?

Any help would be appreciated.

So you don’t think we are all ignoring you on this & your other post, this is the not the forum you are looking for - Heltec don’t make the T-Beam, that would be Lilygo.