-
Notifications
You must be signed in to change notification settings - Fork 2
Installation Guide Part 2
This page covers the undimmed parts of the flow.

Firebase is an application back-end platform service by Google. OmniTrack For Research makes use of Firebase under the hood, regarding the participants' authentication(sign in) via Gmail account, and cloud messaging.
Therefore, to allow your OmniTrack server to communicate with Firebase, you must configure your own Firebase project and make a connection with your OmniTrack server.
-
Create new Firebase project at https://console.firebase.google.com

-
Now click the cog button beside the Project Overview, and go to Project settings.

-
Go to Service accounts -> Firebase Admin SDK tab -> and click Generate new private key.

The browser will ask you to download a JSON file. Store the file in your private folder and archive it.
You will need it on the installation wizard of the OmniTrack backend server later.
On your web browser, connect to
[SERVER_ADDRESS]
If everything was successful, you will see this screen:
Follow and complete the steps on the server initialization panel.
-
Register admin researchers. You can register e-mail addresses of whom will be administrators of the research dashboard, before they sign up. The system will automatically give the admin privileges to researcher accounts with the registered e-mails.
These are what admin researchers can do:
- Approve or reject normal researcher accounts.
- Build and manage master apps (covered in the next step).
- Explorer mobile app error logs.
Admin researchers cannot see or access to the experiments that they are not participating in.
Note that you must register your e-mail account to use the research dashboard.
-
Set JWT secret. JWT secret is an arbitrary text that is used to securely generated private keys in the authorization process. Insert any arbitrary text you want to use.
-
Register Firebase admin certificate. Register the JSON file you downloaded from the Firebase Admin SDK settings.
After completing the installation wizard, sign up the research dashboard with the e-mail you registered as a super-user, and sign in.
Questions, collaboration: omnitrack4research@gmail.com
- Part 0: Introduction
- Part 1: Platform Installation
- Part 2: Configuring Firebase
- Part 3: Building a master app
- Starting a New Experiment
- Configuring a Data Collection Regimen
- Configuring In-app Consents
- Building an Android App for Study Participants
- Managing Participant Accounts
- Trackers and Manual Logging
- Integrating External Tracking Services
- Value Connection: Automating Field Inputs
- Reminders
- Triggers for Automated Logging
- Condition Settings for Triggers and Reminders