A document is a single record within a Firestore collection. Firepanel renders documents using the field definitions from the corresponding Content Type.
Viewing a Document
Click any row in the collection table to open the document view. This displays all fields and their values in a read-only format.

Creating a Document
Open a collection
Navigate to the collection where you want to add a document.
Click New Document
Click the + New Document button in the top-right corner of the collection table.
Fill in the fields
The document editor opens with all fields defined in the content type. Fill in the values for each field.

Save
Click Save to write the document to Firestore.
Generating Documents with AI
Firepanel can generate sample documents for a collection using AI, which is useful for quickly populating a collection for development or testing. Generation uses Vertex AI (Gemini) on your own Google Cloud project.
Note:
AI document generation requires the AI feature (available on the Startup plan and above) and AI to be set up for the project. See AI settings to enable it. The Generate actions only appear when your plan includes AI.
Generating multiple documents
Open a collection
Navigate to a top-level collection. From the collection table, open the actions menu (or the Generate data button) and choose Generate data.
Set the count and guidance
Choose how many records to generate (between 1 and 25). Optionally add guidance — for example, "tech articles about AI, published in 2025" — to steer the content.
Generate
Click Generate. Firepanel writes the generated records directly to Firestore and reports how many were created. If some records could not be generated, a warning summarizes the failures.
Note:
AI sample-data generation is available on top-level collections only. Media, references, and relation fields are left empty for you to complete afterwards.
Generating a single document
When creating a new document, click Generate with AI in the document editor. Describe the record you want — for example, "a blog post about the rising temperature on earth" — and Firepanel writes it to Firestore, then returns to the collection list where the new document appears.
Editing a Document
Open the document
Click on a document row to open the document view, then click the Edit button (pencil icon).
Update fields
Modify the field values as needed.
Save changes
Click Save to write the updated document back to Firestore.
Deleting a Document
Note:
Deleting a document is permanent and cannot be undone from Firepanel.
To delete a document:
- Open the document view, or hover over the document row in the table
- Click the Delete button (trash icon)
- Confirm the deletion in the dialog
Special Views
| View | Description |
|---|---|
| JSON Viewer | Click the {} button to view the raw Firestore JSON of the document |
| Media Preview | Media fields open a preview sheet for images and files |
| Component Viewer | Component fields display a structured component preview |
| Storage Picker | Media fields allow browsing Cloud Storage to select files |