Envirophat initial state issue

Hey everyone, I’m very new to the raspberry pi and phat. I’m having trouble getting my data to stream. I’ve tried fallowing these tutorials.

https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-phat

I tried to copy and paste the codes and changing the bucket key and name and access key. But still no luck. I’m not sure where to start. My goal is to be able to monitor my enviro data from initial state