Connect Firebase Database With Variable

You can share your database structure and use cases so I can help further.

Or you can follow the guide below-