Skip to content

Commit 7371892

Browse files
committed
Add section on managing multiple Firestore databases
1 parent b2bea40 commit 7371892

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/ff-integrations/database/cloud-firestore/getting-started.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,37 @@ com/embed/v_hR4K4auoQ" frameborder="0" allow="accelerometer; autoplay; clipboard
9595

9696
:::
9797

98+
## Manage Databases
99+
100+
You can also create multiple Firestore databases within a single Firebase project. This makes it easy to set up separate data environments, such as development, staging, and production, without needing to create and manage multiple Firebase projects.
101+
102+
To create a new database, go to the **Firebase Console > Firestore Database** section. Click the button next to the default database, i.e, **Add database**. Choose a region and configure your security rules. Once the new database is created, you can switch between databases using the dropdown.
103+
104+
Next, copy the new **Database ID** and navigate to **FlutterFlow > Settings and Integrations > Firebase > Advanced Settings**. Paste the ID into the **Firestore Database ID** input field. Finally, regenerate the config file. Your app will now use the newly created database.
105+
106+
107+
<div style={{
108+
position: 'relative',
109+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
110+
height: 0,
111+
width: '100%'}}>
112+
<iframe
113+
src="https://demo.arcade.software/tKhrDSJ3fqCiJoM9FIYd?embed&show_copy_link=true"
114+
title=""
115+
style={{
116+
position: 'absolute',
117+
top: 0,
118+
left: 0,
119+
width: '100%',
120+
height: '100%',
121+
colorScheme: 'light'
122+
}}
123+
frameborder="0"
124+
loading="lazy"
125+
webkitAllowFullScreen
126+
mozAllowFullScreen
127+
allowFullScreen
128+
allow="clipboard-write">
129+
</iframe>
130+
</div>
131+
<p></p>

0 commit comments

Comments
 (0)