[!IMPORTANT] For Agents: Before proceeding with project configuration,
you MUST pause and ask the developer if they prefer to:
- Provide an existing Firebase Project ID, or
- Create a new Firebase project.
-
If using an existing Project ID:
- Check the current project by running
npx -y firebase-tools@latest use.
- If the command outputs
Active Project: <project-id>, confirm with the
user if this is the intended project.
- If not, or if no project is active, set the project provided by the
user:
npx -y firebase-tools@latest use <PROJECT_ID>
-
If creating a new project: Run the following command to create it:
npx -y firebase-tools@latest projects:create <project-id> --display-name "<display-name>"
Note: The <project-id> must be 6-30 characters, lowercase, and can
contain digits and hyphens. It must be globally unique.