Adding a service account
Some of the Flamelink features, such as Direct Project Login and Webhooks, require you to upload a service account for your project. It is either for security reasons or server-side access.
If you are not familiar with Google Cloud Platform service accounts, you can read more here and here. In short, a service account is a particular type of Google account that is used by applications, instead of users, to access certain parts of your Google/Firebase project.
β
Since Firebase is part of the Google Cloud Platform services, they have made it easy to generate a service account to access your Firebase services specifically.
β
To generate a service account now, go to the Project Settings section in the Firebase Console, make sure "Service accounts" is selected, and then click the "Generate new private key" button. Save the generated file somewhere on your machine where you can easily find it - you're going to have to upload it next from within Flamelink.
β
Once you have your service account file, open the Flamelink app and log into your project. Navigate to the "Settings" section. At the top of the "General" section, you should see the "Service Account" panel from which you upload the file. Click the upload button now and select the file you just downloaded from the Firebase console. If the upload was successful, you should receive a success notification.
Providing a service account is a once-off action, so you would not need to do it again unless you want to replace it with another one.
By default, once you have successfully uploaded a service account, you can use the Direct Project Login feature. If your subscription plan allows for it, you will also be able to setup webhooks.