Connecting arduino to firebase/firestore.

Does anyone know how to connect arduino to the cloud database firebase?

We have to code the arduino with sensors that will send and receive data and that data needs to be stored in the cloud database,as well as a mobile app that can view that data.

We can also use another database like MS SQL but we prefer using firebase.