I know you were the last person to post on the previous thread, but this is a total change of topic, so a bit of a thread hijack. So I’ve started you a new topic.
Well done for getting your 868MHz gateway for the Indian channel plan working.
You may want to review the Learn section as there is an apparent mismatch between the gateway frequency and the 433MHz module you have.
Short answer, they won’t be able to talk to each other.
As for how to connect it, we strongly encourage people to review the documentation for the things they buy or use Google search in the first instance - wiring the SPI and DIO lines to the ESP32 is well documented on Random Nerd Tutorials - you will learn so much more than having us spoon feed you, something no one has time to do, we are all volunteers.
And for example code, again, some prior research would come up with something like LMIC or LoRaMac-node or RadioLib, again, you can look at the docs for them and decide which is the best fit (hint, RL).