You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your project uses Firebase, you'll need to create a separate Firebase project in the Firebase Console for each environment and then follow the steps to [**manually configure the Firebase project**](../../ff-integrations/firebase/connect-to-firebase-setup.md#connect-an-existing-firebase-project-manually) for each one. Additionally, you must manually set up [**Firestore rules**](../../ff-integrations/database/cloud-firestore/firestore-rules.md) and [**collections**](../../ff-integrations/database/cloud-firestore/creating-collections.md) for the new environment.
108
+
You must complete the Firebase or Supabase setup for an environment before you can test your app using that environment. However, this doesn't stop you from continuing to run and test your app in other environments. Just switch back to Production, and you can keep testing while finishing the setup for the new environment.
110
109
111
-
**Note** that the data that you add to Firebase through the Content Manager is specific to the Firebase project, and environment, that you have selected.
110
+
#### Configuring Firebase
111
+
If your project uses Firebase, you'll need to create a separate Firebase project in the Firebase Console for each environment. Then, you can change the selected environment in the Firebase settings page (see below), and follow the steps to [**manually configure the Firebase project**](../../ff-integrations/firebase/connect-to-firebase-setup.md#connect-an-existing-firebase-project-manually) for each one.
Additionally, you must manually set up [**Firestore rules**](../../ff-integrations/database/cloud-firestore/firestore-rules.md) and [**collections**](../../ff-integrations/database/cloud-firestore/creating-collections.md) for the new environment.
117
+
118
+
:::info
119
+
The data that you add to Firebase through the Content Manager is specific to the Firebase project, and environment, that you have selected.
112
120
:::
113
121
114
-
:::info[For Supabase]
115
-
If your project uses Supabase, you'll need to [**set up a new Supabase project**](../../ff-integrations/supabase/supabase-setup.md) for each environment. Create environment-specific values like `SupabaseAPIURL` and `SupabaseAnonKey`, and then configure the Supabase properties to point to these newly created values. Below is an example of how it would look like.
122
+
#### Comnfiguring Supabase
123
+
If your project uses Supabase, you'll need to [**set up a new Supabase project**](../../ff-integrations/supabase/supabase-setup.md) for each environment.
124
+
125
+
Create environment-specific values like `SupabaseAPIURL` and `SupabaseAnonKey`, and then configure the Supabase properties to point to these newly created values. Below is an example of how it would look like.
116
126
117
127
<div style={{
118
128
position: 'relative',
@@ -140,10 +150,12 @@ If your project uses Supabase, you'll need to [**set up a new Supabase project**
140
150
</div>
141
151
<p></p>
142
152
143
-
Whenever you switch to a different environment, be sure to click the **Get Schema** button to fetch any updates or changes in the database.
144
-
:::
153
+
:::note
154
+
It's recommended that you keep schemas consistent between the different Supabase environments. It's also recommended that you
155
+
**Get Schema** from the Productio environment and build from there.
156
+
:::
157
+
145
158
146
-
You must complete the Firebase or Supabase setup for the new environment before you can test your app using that environment. However, this doesn't stop you from continuing to run and test your app in other environments. Just switch back to production, and you can keep testing while finishing the setup for the new environment.
0 commit comments