Using Arduino, Alexa, and Firebase

I am trying to program a project where the user will speak to Alexa to read one childpath on Firebase to activate the Arduino, which should read and write to Firebase. I am currently stuck at a point where I am unsure of how to get my Arduino to connect to my Firebase. I am currently using a PHPoC wireless shield model P4S-348 to connect to the internet and it is all set up and capable to connect to my phone. My plan is for the Arduino to send a current through a circuit when triggered by a change in a child path in Firebase. So my main points I would need help with is what code would I need to use to connect my Arduino to my Firebase, and do I use normal C++ code to read and write to the Firebase as I would reading and writing to a file like word or notepad?
Thank you for any suggestions offered.