Connect firebase with api automation testing

I need to connect firebase with my api automation testing. Curretnly I am doing testing on cab booking services and when any rider ask for ride request then it will added on the firebase as a new node.So I need to capture those node and read the node value that is ride request id to the next api i.e, for driver accept or reject request
I dont have any idea about firebase connection on katalon. Please let me know. I hope this scenario is feasible.So need urgent help on the required scenario.
Thank
Nazneen