This storage option is useful for anything from saving game high scores to tracking work credit, powered by Firebase.
Thunkable provides a default Firebase account for testing purposes. When your app is ready to be distributed, we strongly advise connecting your app to your personal Firebase instance.
Firebase Realtime Database also pairs well with Sign in and you can use a single Firebase project for both services.
If you are using Sign In powered by Firebase in your app, you do not need to edit the default database rules which permit reading and writing to the database for authorized users.
Otherwise, you will need to set your Read and Write rules to
To connect your Firebase project with Thunkable, you'll have to add an
API key and
Database URL to the Firebase Settings in the App Settings, which you can find by clicking on your app icon
One way to retrieve the
API key and
Database URL from Firebase is to click on the
Add Firebase to your web app option
Once your project is connected to your Thunkable app, we recommend that you do a simple test and save a value into your database. It should appear in your data tab in your Firebase console.
Asks Firebase to save a given
Asks Firebase to get the
Add Listener (
Asks Firebase to listen to a specific
Data Changed (
Asks Firebase for updates to
Remove Listener (
Ask Firebase to stop listening to a specific
You might want to split your database into smaller spaces, also known as project buckets. To do this, you would need to save your value as an object and use the create object block to create your project bucket. More details in this post.