How to integrate firebase two times?

I want to use Firebase for my chat function and then again for my login screen. But I can only enter one API key or am I wrong? So how do I do this?
Thanks for any help! :blush:

Why do you need to instances of Firebase? Just use one. You can store data in different paths within a single database.