AIPM
Theme

AIPM package

Firebase App Hosting Basics

@firebase/firebase-app-hosting-basics@1.0.0

>-

Scanned · no issues · Oct 23, 2026

GitHub stars: ★ 480

LinkedInPost

Install Skill

Pins this version in aipm.package.json and aipm-lock.json.

aipm add @firebase/firebase-app-hosting-basics@1.0.0

Without project tracking

Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.

aipm add @firebase/firebase-app-hosting-basics@1.0.0 --no-init

How to use

Install the skill above, then run this in your AI tool:

/firebase-app-hosting-basics <your description>

About

## Description

Source

What gets added to your project

Preview every file this package writes on install before you run the command above.

Summary

>-

Skill instructions

App Hosting Basics

Description

This skill enables the agent to deploy and manage modern, full-stack web applications (Next.js, Angular, etc.) using Firebase App Hosting.

Important: In order to use App Hosting, your Firebase project must be on the Blaze pricing plan. Direct the user to https://console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered to upgrade their plan.

Hosting vs App Hosting

Choose Firebase Hosting if:

  • You are deploying a static site (HTML/CSS/JS).
  • You are deploying a simple SPA (React, Vue, etc. without SSR).
  • You want full control over the build and deploy process via CLI.

Choose Firebase App Hosting if:

  • You are using a supported full-stack framework like Next.js or Angular.
  • You need Server-Side Rendering (SSR) or ISR.
  • You want an automated "git push to deploy" workflow with zero configuration.

Deploying to App Hosting

Deploy from Source

This is the recommended flow for most users.

  1. Configure firebase.json with an apphosting block.

    json
    {
      "apphosting": {
        "backendId": "my-app-id",
        "rootDir": "/",
        "ignore": [
          "node_modules",
          ".git",
          ".next",
          ".vercel",
          "firebase-debug.log",
          "firebase-debug.*.log",
          "functions"
        ]
      }
    }
    
  2. Create or edit apphosting.yaml- see Configuration for more information on how to do so.

  3. Create the backend if it does not exist (apphosting:backends:list; switch --primary-region, e.g. us-east4, if a region hits its 10-backend quota):

    bash
    npx -y firebase-tools@latest apphosting:backends:create --backend my-app-id --primary-region us-central1 --root-dir /
    
  4. If the app needs safe access to sensitive keys, set and grant access after creating the backend:

    bash
    printf '%s' '<value>' | npx -y firebase-tools@latest apphosting:secrets:set <secret-name> --data-file - --force
    npx -y firebase-tools@latest apphosting:secrets:grantaccess <secret-name> --backend my-app-id
    
  5. Run npx -y firebase-tools@latest deploy when you are ready to deploy.

Automated deployment via GitHub (CI/CD)

Alternatively, set up a backend connected to a GitHub repository for automated deployments "git push" deployments. This is only recommended for more advanced users, and is not required to use App Hosting. See CLI Commands for more information on how to set this up using CLI commands.

Emulation

See Emulation for more information on how to test your app locally using the Firebase Local Emulator Suite.

Loading package files…

Share this package

Add an Install with AIPM badge

Add this badge to a GitHub README so readers can open the package page and install the same version.

Install with AIPM
[![Install with AIPM](https://www.aipm-registry.com/install-with-aipm.svg)](https://www.aipm-registry.com/skills/firebase/firebase-app-hosting-basics/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)

Publisher

Firebase

This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.

AI assistant context

What this skill is for

@firebase/firebase-app-hosting-basics@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: >-

Install
aipm add @firebase/firebase-app-hosting-basics@1.0.0
Use after install
/firebase-app-hosting-basics <your description>

Tool targets

Install command by target

Add --no-init to any of these when you want the skill files without aipm.package.json or aipm-lock.json.

cursor

Run this variant when you want to install the package into cursor.

aipm add @firebase/firebase-app-hosting-basics@1.0.0 --target cursor --ci

claude

Run this variant when you want to install the package into claude.

aipm add @firebase/firebase-app-hosting-basics@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Package FAQ

Install and compatibility

How to install
Run aipm add @firebase/firebase-app-hosting-basics@1.0.0 in a project that has AIPM initialized.
Supported tools
@firebase/firebase-app-hosting-basics@1.0.0 supports All tools.

Before installing

AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.