Skip to content

docs: document Firestore Database ID field - #3129

Merged
sebastianiv21 merged 2 commits into
mainfrom
agent/docs-asm-80-firestore-database-id
Dec 3, 2026
Merged

sebastianiv21 merged 2 commits into
mainfrom
agent/docs-asm-80-firestore-database-id

Conversation

@sebastianiv21

Copy link
Copy Markdown
Contributor

What

Updates website/docs/connect-data/reference/querying-firestore.md for the Firestore named-database support in appsmithorg/appsmith#42604 (merged to release as 69e1ed1).

  • Database URL: now marked optional; says Appsmith doesn't use it to connect and it doesn't select the Firestore database. Links to Database ID.
  • Database ID (new, after Project ID, same order as the form): optional, empty means (default), format rules, and the two errors a user can hit.
  • Note: changing Database URL, Project ID or Database ID on a saved datasource requires re-entering the service account credentials before test or save.
  • Caution: Database ID isn't carried over on export, Git, or fork without configuration; queries hit (default) until it's re-entered.

Sources for each claim

Claim Source (appsmithorg/appsmith release)
Field label, placeholder (default), optional; Database URL optional firestorePlugin/src/main/resources/form.json
Database URL isn't used by Firestore FirestorePlugin.createClient builds FirestoreOptions without the URL
Empty → (default) FirestorePlugin.resolveDatabaseId
Format rules / "Invalid Database ID" DATABASE_ID_PATTERN, UUID_LIKE_PATTERN, DS_INVALID_DATABASE_ID_ERROR_MSG
Test configuration failure for a missing named DB DS_CONNECTION_FAILED_FOR_DATABASE_ID
Re-enter credentials on connection change (test and save) DatasourceStorageServiceCEImpl.bindStoredCredentials (url, properties, authentication groups), AppsmithError.DATASOURCE_CREDENTIALS_REQUIRED, called from DatasourceServiceCEImpl.testDatasource
Database ID dropped on export / Git / fork DatasourceExportableServiceCEImpl.removeSensitiveFields (sets properties to null; Git sync nulls the whole config), DatasourceStorageForkableServiceCEImpl.initializeFork (same when forkWithConfiguration is false)

The export/fork behavior was confirmed from code, not on a running instance (see below).

Screenshots

  • No new images. website/static/img/firestore-datasource-config.png is not refreshed yet; a <!-- TODO(screenshot) --> sits above it. The local docs instance (appsmith/appsmith-ee:release) refused admin signup (/api/v1/users/super redirects with error=Unauthorized access), so no screen could be captured.

Checks

  • npm ci --legacy-peer-deps (plain npm ci fails on an existing React peer conflict from @twilio-labs/docusaurus-plugin-segment), then npm run build → success. No broken-link or broken-anchor warning for this page; #database-id anchor and links render.
  • vale on the page → 2 errors, both pre-existing (i.e. on lines 127 and 147, untouched sections).
  • grep -n firebaseio.com on the page → only the Database URL example.

🤖 Generated with Claude Code

Add the optional Database ID field to the Firestore connection reference,
state that Database URL does not select the Firestore database, and note
that changing connection settings requires re-entering credentials and that
Database ID is not carried over on export, Git, or fork without
configuration.

Source: appsmithorg/appsmith#42604 (merged as 69e1ed1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
appsmith-docs Ready Ready Preview Dec 3, 2026 9:51pm UTC

Request Review

Show the current form with Database URL, Project Id, Database ID (with
its subtitle) and Service account credentials. Taken on a local
appsmith/appsmith-ee:release instance with made-up values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
@sebastianiv21
sebastianiv21 marked this pull request as ready for review December 3, 2026 22:38
@sebastianiv21
sebastianiv21 merged commit 7fe14e5 into main Dec 3, 2026
4 checks passed
@sebastianiv21
sebastianiv21 deleted the agent/docs-asm-80-firestore-database-id branch December 3, 2026 22:38

This branch was successfully deployed

1 active deployment
Preview — 015e43ac Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant