Log into your google account (on your personal computer, not the pi
2. Go to: https://console.firebase.google.com/
3. Create a new project, give it a name and press continue.
4. Skip the analytics and let google build the project. Then press continue.
5. In the project settings, create your database
6. In the project settings, choose "Service Accounts" and generate a new private key.
7. Download the key to your computer. Rename it this exact name: firestore-key.json
8. Copy the json file to your Raspberry Pi using Filezilla. (if you need a reminder how to do that)
9. Use the firebase code example write_to_firebase.py or create a new python file in Thonny.
Save the Python code in the same directory as the firestore-key.json file.
10.Run the python file.
11. Click on your database to see the data!