I configured the necessary packages for both but had considerable difficulty getting the Pi to output its data to the google sheet I had created.