How Can I connect End Nodes Gateway to the LoRa Server

Thanks for the answers!
Last Week,I Learned how use the api.Thank u very much.
But those api works without end nodes.
I still dont konw how to send data to the gateway and server via End nodes in Class A.
I Read,but i still dont understand.