Like Jitsu? Give us a star on ⭐ GitHub!

πŸ“œ Configuration

Configuration UI

πŸ‘©β€πŸ”¬ Extending Jitsu

Overview
Destination Extensions
Source Extensions
API Specs

Jitsu Internals

Firebase

Overview

The Firebase connector can sync users and any collection from the Firestore cloud.

Firebase exposes following collections: users, firestore

How to connect

Following authorization methods are available for Firebase Analytics
  • Service Account β€” you'll a) create a service account in Google Cloud Console b) share google resource (such as document or analytics property) with this account (account email look like [username]@jitsu-customers.iam.gserviceaccount.com) c) put Service Account Key JSON (available in Google Cloud Console) in the field below
You should also enable Google API for your project. Go to the Google APIs Library page, search Firebase API and make sure they are enabled

2. Obtaining access through Service Account

At first, create or select Google project. There is a good manual on how to do that

Then create a new Google Service Account:

  • Go to the Service Accounts page
  • Click "+ Create Service Account"
  • Fill Service account name and press DONE
  • Click on the Email of created account in Service Accounts table, go to "KEYS" tab
  • Click "ADD KEY" ➞ "Create new key" ➞ Select JSON ➞ "CREATE"
  • Service Account JSON (private key) will be in downloaded file

Connection Parameters

ParameterDocumentation
auth.type*
One of: Service Account
(required; default: Service Account)
Jitsu provides two types for authorizing access to Google Services:
  • OAuth β€” you'll need to provide Client Secret / Client Id (you can obtain in in Google Cloud Console) and get a refresh token. Jitsu developed a small CLI utility to obtain those tokens
  • Service Account β€” you'll a) create a service account in Google Cloud Console b) share google resource (such as ocument or analytics property) with this account (account email look like [username]@jitsu-customers.iam.gserviceaccount.com) c) put Service Account Key JSON (available in Google Cloud Console) in the field below
key*
json
(required)
Use Google Cloud Console to create Service Account get Service Key JSON
project_id*
string
(required)
Firebase Project ID from the Project Settings page.

Collection parameters

Collection is a set of objects that have the same structure and will be mapped to the same table in destination database. Collection may be configurable, and connector can synchronize several collection of the same type. If you're familiar with object-oriented programming, think of collection as class which can have multiple instances.

Firebase exposes following collections: users, firestore

Collection configuration: users

This collection has no config parameters

Collection configuration: firestore

ParameterDocumentation
collection*
string
(required)
Firestore collection ID. Can include wildcard for example: 'collection/*/sub_collection' will synchronized only sub collections from all objects in 'collection'