First of all try to install all the dependencies for arduino, after that install the libraries. Setup the server and put the Token and the server address inside the code and upload it ...