Create Choicely Brand and App
To create Choicely brand and App visit Choicely Tutorials.Create and link Firebase project with your app and Choicely Studio
- Go to Firebase Console and create a new project.
- Give it a name, accept the Firebase terms and click “Continue”.
- Enable and configure Google Analytics if needed and click “Create Project”.
- When your Firebase project will be ready click “Continue”. You will be redirected to your project’s overview page.
-
Hit the gear icon and select “Project settings” to see your Porject name and Project ID.

-
Copy your Porject name and Project ID. Go to your app’s Choicely Studio, select “Settings” -> “General Settings” -> “Firebase settings”.

-
Click “edit” on your predefined Firebase project and set the Porject name with Project ID. Click the “Save” button.
If you want to enable realtime updates feature you will need to set a “Database url” too. See the next section to learn where to get it. -
In order to link the Firebase Project with your apps go back to Firebase project overview page and click “Add app”. Follow the instructions to add all app platforms you need.

Enable Firebase realtime updates feature
- On your Firebase project overview page go to “Build” menu section and select “Realtime Database”. Click “Create Database” button, select an appropriate server location and data write rules. Click “Enable” button.
-
Copy the realtime database rules into your clipboard. You will need them in the next step.
-
In the opened Realtime Database page go to “Rules” tab, paste the rules from previous step and click “Publish”.

-
Go to “Data” tab on Realtime Database page, copy the database url, paste it in your app’s Studio Firebase settings and click “Save”:

-
The next thing to do is to get the Web API key. On your Firebase project overview page go to “Build” -> “Authentication” side menu section. Click “Get Started button” and select “Google” as a provider.

-
Enable Google as a Sign-in provider, set your support email and click “Save”.

-
Now you have your Web API Key set under “Project Overview” -> “Project settings” -> “General” tab. Copy and paste it in your app’s Studio Firebase settings.

-
Double check your apps
GoogleService-Info.plist. TheDATABASE_URLproperty should be the same as database url you pasted in Studio Firebase settings. -
Go to Google Cloud Console and select your project. Open the side menu and navigate to “IAM and admin” -> “IAM” section. Click “Grant access” button Under “Allow” and “View by principals” tabs.

-
Add
choicely-studio@choicely.iam.gserviceaccount.comas principal and assign “BigQuery Data Viewer” with “Firebase Admin” roles to it. Click the “Save” button.
- That’s it! You’re now ready to start using realtime updates features in your apps.
