You have to download the Raspbian OS from the official website for Raspberry Pi. You can find it here
Download Balena Etcher and SD card Formatter.
You have to install UnwiredLabs for geolocation and PubNub for communication on the Raspberry Pi. Type the following commands in the RPi's terminal to do so.
pip install pubnub==3.9.0
pip install unwiredlabs