Add A New Report to fireRun.io
Firebase actually runs on Google Cloud, so to create your daily & monthly reports, we need permission to view your usage data on Google Cloud.
These instructions will guide you to create a Google Service Account on Google Cloud. At the end of the process, you’ll download a Private Key files (a json file) that you’ll need to upload on Step 3 of the New Report Setup. If you have an questions about our security, just ask.
Important: Before you start, first ensure that your Firebase project is on the Blaze plan. fireRun.io does not support the free Spark plan. If you are not sure of your plan, click here.
Step 1: Enable Google APIs
Before you can create a Google Cloud Service Account, you need to enable the APIs for this project. This gives fireRun.io access to read and analyze your Firebase usage.
Click the button below to go to the Google Cloud Console.
Once you are in the console, perform the follow steps:
In the drop-down field, select the Firebase project that you want to add to fireRun.io. Click “Continue” on the next page.
A confirmation message will say “The APIs are enabled”.
Step 2: Create Google Service Account
At this point, you can create your service account and generate a private key. Click the button below to go to the Google Cloud Service Account page.
Once at the Service Account Page, do the following steps:
First, ensure that you have the right project selected in the top blue nav bar.
The project you want to select may be listed as a “RECENT” project or in the “ALL” project tab.
In the “Service account” drop-down, select “New service account”. Give the account a name, such as “firerun”, and for the role, select “Project” –> “Viewer”. This will give us read-only access to your usage data.
Ensure that the Key Type is set to JSON.
Click the “Create” button. Your browser will download the json file which includes the private key. Place it in a directory that you can later access. You’ll need it in a minute. If you can’t find it, check your regular download directory for a recent file ending in “.json”.
Step 3: Upload the json file
Return to the fireRun.io New Project entry screen.
Upload the json file you just downloaded by either dragging and dropping it on the upload box or clicking the upload box and choosing the json file.
Step 4: Verify Your Google Cloud Platform (GCP) Project
On the fireRun.io New Project entry screen step 4, your GCP project id is auto populated from the json file you just uploaded. Verify your GCP project id is correct. It usually is unless you have multiple projects associated with a service account.
If everything looks good, click Submit.
Your new fireRun.io project is ready and you’ll receive your first report tomorrow at 8 AM Eastern Standard Time.