Firebase
TimeSeal Firebase Extension
Requirements
Before installing the TimeSeal Firebase Extension, you must have:
A Firebase project: If you don't have one, you can create it on the Firebase console.
Billing enabled: TimeSeal's Firebase Extension is a paid service, and you must have billing enabled for your Firebase project.
Firebase Firestore: Your Firebase project must be using Firestore for data storage.
Firebase Functions: Your Firebase project must firebase functions enabled.
Once you have completed these steps, you're ready to install the TimeSeal Firebase Extension. Please proceed to the installation guide (INSTALL.md) for further instructions.
Configuring TimeSeal
To use the TimeSeal Firebase Extension, you need a TimeSeal API key. If you haven't obtained this yet, follow these steps:
Sign in to your TimeSeal account.
Create a new project within your TimeSeal dashboard.
After creating the project, you will receive an API key. Make sure to store this key securely.
Setting up the Firebase Extension
With your API key, you can now configure the TimeSeal Firebase Extension in your Firebase project:
Navigate to the "Extensions" page in your Firebase console.
Find the TimeSeal extension and click on "Configure".
In the configuration options, enter your TimeSeal API key.
Save your changes.
Specifying Collections and Fields
In the extension configuration, you also need to specify which Firestore collection(s) and fields you want to timestamp:
In the configuration options, find the "Collection" input field.
Enter the name of the Firestore collection you want to timestamp.
In the "Fields" input field, enter the names of the fields you want to timestamp, separated by commas.
Save your changes.
Choosing Storage Method
TimeSeal provides several storage methods for your timestamps: fully onchain, hashed, salted-hash, and encrypted. To choose your preferred method:
In the configuration options, find the "Storage Method" dropdown menu.
Select your desired encryption method from the dropdown.
Save your changes.
With these settings, TimeSeal will automatically add timestamps to the specified fields in the specified collection, using your chosen encryption method.
Last updated