Firebase integration

What is Firebase?

Firebase is a platform that provides developers with a wide range of functionalities for creating web and mobile applications. Powered by Google infrastructure, it includes features like analytics and performance monitoring, real-time databases, cloud functions, and crash reporting. Additionally, Firebase hosting allows you to deploy and serve your web applications, static content, and dynamic content.

Our integration uses the Firebase CLI, letting you execute commands on your Firebase instance. For example, you can download dependencies with npm install followed by the firebase deploy command whenever you create a new Firebase project.

Or combine it with other build actions, such as the one below:

Image loading...Pipeline example for Firebase integration

Setting up Firebase integration

Step 1: Navigate to the Integrations tab and click New integration.

Step 2: Look up and click Firebase CLI (it can be found under the PaaS category):

Image loading...Firebase integration selection

Step 3: The configuration window will show up:

Image loading...Firebase integration configuration

Here you have to provide:

  • Integration name
  • Customer token
Hint
You can adjust the privacy settings of your integration (i.e. who can use it and where) in the Sharing tab.

Obtaining Firebase API key

  1. In your terminal, install Firebase tools using the npm install -g firebase-tools command
  2. Once installed, run firebase login:ci. Click on the provided URL – it will bring you to the Firebase login page
  3. After a successful login, you will find the API key displayed in the terminal:

Image loading...API key in the terminal

Hint

📚 Learn more about Firebase action features, integrations and alternatives.

Last modified on Sep 23, 2024