---
title: 01 - Enable Firebase and connect it with an iOS App
slug: experience/01-enable-firebase-and-connect-it-with-an-ios-app
description: This article will guide you step by step through the process of connecting Firebase to your iOS app. You will enable Firebase for your Purple app, connect your Purple iOS app to Firebase and enable the following service:
docTags: 
createdAt: 2023-10-13T15:39:13.868Z
---

Purple Manager / 3rd party integrations

***

## Summary

This article guides you step by step through the process of connecting Firebase to your iOS App.&#x20;

You will activate Firebase for your Purple app, connect your Purple iOS app with Firebase and activate the following service:

**For your Purple App (independent of operating System):**

- Firebase Analytics
- Firebase Crashlytics

**For your Purple iOS app (iOS only)**

- Firebase Analytics
- Firebase Crashlytics
- Firebase In-App Messaging
- Firebase Cloud Messaging
- Firebase Debug Mode (Preview App only, doesn't work for live apps)
- Push for App
- Push registration on App start

:::hint{type="info"}
If you wish not to use one of the above mentioned services, just don't check the according check box in Purple Manager to skip it's activation.
:::

***

## Preconditions

- Have a Firebase project created. [Create a Firebase project](docId\:wW7gI5TGULt52FEMU-Oso)
- Assets from your Apple Developer account: 
  - P12 Distribution certificate. See [Create an iOS Distribution Certificate (P12)](docId\:nu1xsgcifF5IkZ-FSnluP)
  - Mobile provisioning profile. See [Mobile provisioning profile for release app](docId\:yE2qumtAoAcjWsBn-7hx6)
  - APN Auth-Key and Key-ID. See [Create a Push Key (P8)](docId\:h8ZrRWb3aWpOK8MOHcG3j)
  - Team-ID: Your Team-ID can be found in the upper right corner of the Apple Developer Portal
- Assets from App Store Connect
  - App Store ID
- Assets from Purple Manager
  - Package Name of your app (to be used as iOS-Bundle-ID)

:::hint{type="info"}
If you don't have prepared these assets, you can find the appropriate instructions to create them in the [Preconditions for Test & Submit of an iOS App](docId\:LGPltwQH6M5rBe5UVVMb6) folder.
:::

***

## How to

### Set up your app in Firebase

1\. Visit [firebase.google.com](https://firebase.google.com) and open your Firebase project

2\. Click on 'Project Overview'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/27d06e8c-7397-418a-a1c4-e0dd740e8344/78b6a909-0252-4976-8249-e070abf34571.png?crop=focalpoint&fit=crop&fp-x=0.1323&fp-y=0.1118&fp-z=1.7959&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=8&mark-y=92&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz01NTMmaD0xMzQmZml0PWNyb3AmY29ybmVyLXJhZGl1cz0xMA%3D%3D" size="70" width="1200" height="794" position="center" alt="Click on 'Project Overview'" showCaption="false"}

2\. Click on the gear symbol

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/1dcfe3cc-579e-4b3c-be4a-b0d1e157a0d8/ce2f2f4f-59a4-463d-be96-d5f82d75dfe6.png?crop=focalpoint&fit=crop&fp-x=0.2218&fp-y=0.1118&fp-z=2.7419&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=530&mark-y=173&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0xNDEmaD0xNDEmZml0PWNyb3AmY29ybmVyLXJhZGl1cz0xMA%3D%3D" size="70" width="1200" height="794" position="center" alt="Click on the gear symbol" showCaption="false"}

3\. Click on 'Project settings'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/c2f4a7c7-5057-453e-8f1b-20f6af0f6d17/fb6af6e8-df97-481f-9f9f-8757df0bd7ec.png?crop=focalpoint&fit=crop&fp-x=0.3298&fp-y=0.1206&fp-z=2.0962&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=377&mark-y=152&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz00NDUmaD05OCZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="70" width="1200" height="794" position="center" alt="Click on 'Project settings'" showCaption="false"}

4\. Below 'Your Apps' click on the iOS icon

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/75bbaffb-350b-4f4d-bd48-5e364b81852d/a27086a4-53fd-48ac-9d0e-38ad4e21b764.png?crop=focalpoint&fit=crop&fp-x=0.3574&fp-y=0.3415&fp-z=1.4662&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=735&mark-y=614&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0xMjMmaD0xMjMmZml0PWNyb3AmY29ybmVyLXJhZGl1cz0xMA%3D%3D" size="50" width="1200" height="794" position="center" caption="Step 4 screenshot" alt="Click on the iOS icon" showCaption="true"}

5\. Add the iOS-Bundle-ID of your app (App Package Name in Purple). Optionally, you can add your App Nickname and your App-Store-ID

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/402289d1-019d-4014-b81d-00ac7cca9ba1/2cacab1e-bc2e-4bad-ba5b-aa0c7c103e67.png?crop=focalpoint&fit=crop&fp-x=0.3103&fp-y=0.3588&fp-z=1.4553&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=204&mark-y=360&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz02NzYmaD03NSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="70" width="1200" height="794" position="center" alt="Add the iOS-Bundle-ID of your app" showCaption="false"}

6\. Click on 'Register app'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/ffc2501a-7a90-4aa4-b129-3c20afa2848b/5eb563a2-b484-46f0-90d9-9d8c027901b8.png?crop=focalpoint&fit=crop&fp-x=0.3894&fp-y=0.5717&fp-z=1.3885&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=146&mark-y=574&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0xOTgmaD03MSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="50" width="1200" height="794" position="center" alt="Click on 'Register app'" showCaption="false"}

7\. Click on 'Next'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/23f5e413-c497-4877-8755-24191b860aa9/dc8351b3-7ca7-44f2-9f80-078180592f99.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=140&mark-y=705&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz04NCZoPTUxJmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="70" width="1200" height="794" position="center" alt="Click on 'Next'" showCaption="false"}

8\. Click on 'Next'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/aaa3b1e9-fe88-47f2-a0a4-b2a1a6f00592/b2a69654-0c21-4a69-b93f-21797dda3b1b.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=239&mark-y=649&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz04NCZoPTUxJmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="70" width="1200" height="794" position="center" alt="Click on 'Next'" showCaption="false"}

9\. Click on 'Next'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/cb8a687f-b1fb-471d-9af8-8cd54e18acf4/55efdc93-d01b-43b4-aab1-39dec31b0735.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=239&mark-y=619&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz04NCZoPTUxJmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="70" width="1200" height="794" position="center" alt="Click on 'Next'" showCaption="false"}

10\. Click on 'Continue to the console'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/0e069846-0575-414a-a8d2-084868e6f74b/14d13e5a-4322-4859-bd59-f4fee1dc7b38.png?crop=focalpoint&fit=crop&fp-x=0.4832&fp-y=0.5338&fp-z=1.0462&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=244&mark-y=716&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0yMzcmaD01NCZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="70" width="1200" height="794" position="center" alt="Click on 'Continue to the console'" showCaption="false"}

11\. Click on 'Cloud Messaging'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/28218068-670e-4597-b7b2-161de17947b9/e977c1a3-0a79-4f48-9ac6-7f41fdbe8edb.png?crop=focalpoint&fit=crop&fp-x=0.4083&fp-y=0.3955&fp-z=1.2280&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=542&mark-y=135&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0yMTkmaD02OSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="70" width="1200" height="794" position="center" alt="Click on 'Cloud Messaging'" showCaption="false"}

12\. Click on 'Upload'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/3eb54469-4cb1-4125-8fca-181e2ec4c8a8/7e74c1fd-68ff-4af2-b732-350535087c70.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=1004&mark-y=511&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0xNDUmaD03NCZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="80" width="1200" height="1062" position="center" alt="Click on 'Upload'" showCaption="false"}

13\. Click on 'Browse' and upload your APN Auth Key

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/89f423f1-4056-49d6-ae92-7d867fdf40c6/9e59b174-5294-4290-aa56-b7f0d3f17c71.png?crop=focalpoint&fit=crop&fp-x=0.5678&fp-y=0.3847&fp-z=1.5934&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=638&mark-y=282&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0xNjQmaD04MiZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="50" width="1200" height="794" position="center" alt="Click on 'Browse' and upload your APN Auth Key" showCaption="false"}

14\. Below 'Key ID' enter your Key ID

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/09cd3b9c-a9e8-4fc3-b3b8-ae7c88a2ecbf/72156a99-21e8-432b-a647-998cac29711d.png?crop=focalpoint&fit=crop&fp-x=0.6064&fp-y=0.4057&fp-z=1.4553&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=76&mark-y=477&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz02NzYmaD03NSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="70" width="1200" height="794" position="center" alt="Below 'Key ID' enter your Key ID" showCaption="false"}

15\. Below 'Team-ID' enter your Team ID

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/cb12b2c7-ce94-4540-8278-9505cba42dec/d72dad00-46ad-40ef-b970-04b69d1a1831.png?crop=focalpoint&fit=crop&fp-x=0.6155&fp-y=0.4832&fp-z=1.4553&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=60&mark-y=564&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz02NzYmaD03NSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="70" width="1200" height="794" position="center" alt="Below 'Team-ID' enter your Team ID" showCaption="false"}

16\. Click on 'Upload'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/52c0d98d-5a4f-4f59-ae65-6f79335bc72d/ba89758c-67c2-4b13-b0b2-6420bc2df2e9.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=876&mark-y=1165&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0yMzQmaD0xMjEmZml0PWNyb3AmY29ybmVyLXJhZGl1cz0xMA%3D%3D" size="50" width="1200" height="1394" position="center" alt="Click on 'Upload'" showCaption="false"}

17\. Click on 'General'

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/2b40bb57-40c6-46ef-86e4-c09257fc1ebc/76d87fca-1dbf-4136-8ba4-0e7d3e88bf1a.png?crop=focalpoint&fit=crop&fp-x=0.3168&fp-y=0.3166&fp-z=1.5803&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=547&mark-y=173&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0xNjYmaD04OSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="80" width="1200" height="794" position="center" alt="Click on 'General'" showCaption="false"}

18\. Click on 'GoogleService-Info.plist' to download the file to your computer

::Image[]{src="https://images.tango.us/workflows/9287da83-994e-428a-bbb2-f90c8dca4989/steps/affb25a5-da39-4b6b-9ed1-fb9029d1c138/e9245eb3-55d9-4d70-9884-3b9a67b8e2c2.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=856&mark-y=328&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0yNjcmaD01MyZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="80" width="1200" height="813" position="center" alt="Click on 'GoogleService-Info.plist' to download the file" showCaption="false"}

### Activate Firebase services and Push in Purple Mager

1\. Go to Purple Manager -> 'Apps'

2\. Click on 'Overview'

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/204f4f4d-cf93-419b-8825-14b229a6b9c8/06200235-284a-4e77-b205-13fec836afa9.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.2891&fp-y=0.2894&fp-z=1.7336&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=405&mark-y=138&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz0xMDMmaD05MSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="80" width="1200" height="794" position="center" alt="Click on 'Overview'" showCaption="false"}

3\. Click on the three dots in the top menu bar

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/127668cf-056e-4aa0-94e3-c9b5cc363654/63cc4710-df3a-416e-9d25-0c295ee914ca.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=658&mark-y=109&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0yMSZoPTM5JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="412" position="center" alt="Click on the three dots in the top menu bar" showCaption="false"}

4\. In the dropdown, click on 'Consent/Push/Analytics'

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/effb97ea-460b-4585-8853-9ecb0336450b/5c4daff5-a80b-474c-b251-8f4d51ac6de2.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=472&mark-y=230&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0yNDEmaD00MSZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="80" width="1200" height="567" position="center" alt="Click on 'Consent/Push/Analytics'" showCaption="false"}

5\. Go to 'Firebase Analytics' -> 'General' -> 'Basic Settings' and click on the arrow&#x20;

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/0a3c22a7-23a9-4370-a594-47dd92cf6b81/ac19c04e-9e47-430c-96b4-5b326250e97c.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=1112&mark-y=213&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz03MyZoPTczJmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="533" position="center" alt="Go to 'Firebase Analytics' -> 'General' -> 'Basic Settings' and click on the arrow " showCaption="false"}

6\. Next to 'Enable Firebase Analytics' check the checkbox

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/dc60b5c7-8b1a-4bfb-974a-c36947e2e698/a53c7a93-968c-4d9a-a0e7-38380f7c3a59.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4920&fp-y=0.3048&fp-z=1.8480&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=667&mark-y=214&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz02NiZoPTc2JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="794" position="center" alt="Next to 'Enable Firebase Analytics' check the checkbox" showCaption="false"}

7\. Next to 'Enable Firebase Crashlytics' check the checkbox

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/2f78f247-3a04-46a6-bbe1-dbc167d6f521/c248ac62-d2c7-4e39-8c91-bc5b25899328.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4849&fp-y=0.3036&fp-z=1.8480&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=683&mark-y=319&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTYlMkNGRjc0NDImdz02NiZoPTc2JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="794" position="center" alt="Next to 'Enable Firebase Crashlytics' check the checkbox" showCaption="false"}

8\. Go to 'iOS' -> Basic Settings' and click on the arrow&#x20;

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/b28672d1-6135-4001-b1fb-32120d239bfa/bf7f4f2e-ba24-487b-bbe1-9df9b2336b5b.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=1116&mark-y=85&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz03NCZoPTc0JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="296" position="center" alt="Go to 'iOS' -> Basic Settings' and click on the arrow" showCaption="false"}

9\. Next to 'Firebase configuration file' click on 'Select file' and upload the 'GoogleService-Info.plist' file from your computer

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/ac1a4ef2-11b8-4e7c-926b-7904a9ba2bd5/b6b00d21-5381-4694-b3fa-1b2de46d5a82.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=518&mark-y=182&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0yNjMmaD01NiZmaXQ9Y3JvcCZjb3JuZXItcmFkaXVzPTEw" size="80" width="1200" height="292" position="center" alt="Upload the 'GoogleService-Info.plist' file from your computer" showCaption="false"}

10\. Wait until the upload is finished

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/3ee90954-ad6e-4770-ac44-edb5b6f4a5f0/39834589-5419-4a48-83f4-ce484440002b.png?fm=png&crop=focalpoint&fit=crop&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8" size="80" width="1200" height="794" position="center" alt="Wait until the upload is finished" showCaption="false"}

Next to 'Enable Firebase Analytics' check the checkbox

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/1ef74ed5-58a7-4d67-a8a1-7d07a5485255/4c477554-39bd-49b0-bd54-437a4aea7bd3.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=527&mark-y=301&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz01MSZoPTU4JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="503" position="center" alt="Next to 'Enable Firebase Analytics' check the checkbox" showCaption="false"}

12\. Next to 'Enable Firebase Crashlytics' check the checkbox

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/7ed2e164-c4b5-4188-98bb-ff511f41c930/01fa7d32-eb31-436f-a536-61acd4d178df.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=527&mark-y=380&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz01MCZoPTU4JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="536" position="center" alt="Next to 'Enable Firebase Crashlytics' check the checkbox" showCaption="false"}

13\. Next to 'Enable Firebase In-App Messaging' check the checkbox

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/20f0d243-44f3-489d-ac32-ecf0ebc16f4c/a37c8b04-3937-48bc-a0fd-c60ca4de3077.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=525&mark-y=458&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz01MSZoPTU4JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="548" position="center" alt="13. Next to 'Enable Firebase In-App Messaging' check the checkbox" showCaption="false"}

14\. Next to 'Enable Firebase Cloud Messaging' check the checkbox

![Next to 'Enable Firebase Cloud Messaging' check the checkbox](https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/a3988693-0450-4e13-9f14-617c7ed986e0/1b35e5d2-1824-40b4-9148-6d2ea24b0b25.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&w=1200\&border=2%2CF4F2F7\&border-radius=8%2C8%2C8%2C8\&border-radius-inner=8%2C8%2C8%2C8\&mark-x=529\&mark-y=534\&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz01MCZoPTU4JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D)

15\. Next to 'Enable Firebase Debug Mode' check the checkbox

::Image[]{src="https://images.tango.us/workflows/2ff17d92-71eb-4ae3-a683-d11db1c7d47c/steps/fdafa00d-2132-4bfb-9914-d30cc661a6b1/3414a87b-517c-4b80-98e8-f2138c91d883.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=528&mark-y=613&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz01MCZoPTU4JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="774" position="center" alt="Next to 'Enable Firebase Debug Mode' check the checkbox" showCaption="false"}

16\. Go to 'Push' -> 'iOS' -> 'Basic Settings' and click on the arrow

::Image[]{src="https://images.tango.us/workflows/372b9c90-7be1-44f8-a3c5-e186b7d76062/steps/05c03510-cc45-4d16-a9f4-f06eecde0b79/36f2ba1c-dafe-496f-9fbd-0be35f7e132c.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=1118&mark-y=188&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz03NCZoPTc0JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="455" position="center" alt="Go to 'Push' -> 'iOS' -> 'Basic Settings' and click on the arrow" showCaption="false"}

17\. Next to 'Enable Push for App' check the check box

::Image[]{src="https://images.tango.us/workflows/372b9c90-7be1-44f8-a3c5-e186b7d76062/steps/4fc1ce58-1278-4de1-8b4e-ff05d4bdcedb/c0a66538-b3cf-4b94-870c-52e388b8f0a9.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=532&mark-y=281&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz00OSZoPTU2JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="430" position="center" alt="Next to 'Enable Push for App' check the check box" showCaption="false"}

18\. Next to 'Push registration at app start' check the check box

::Image[]{src="https://images.tango.us/workflows/372b9c90-7be1-44f8-a3c5-e186b7d76062/steps/4e95713a-5fc2-4009-9c15-bc12a02c7d09/c5f07f8d-0e52-4673-a13c-6c45f8a725b6.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=533&mark-y=353&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz00OSZoPTU2JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D" size="80" width="1200" height="423" position="center" alt="Next to 'Push registration at app start' check the check box" showCaption="false"}

19\. Click on 'Save'

::Image[]{src="https://images.tango.us/workflows/372b9c90-7be1-44f8-a3c5-e186b7d76062/steps/ae266c3f-1a18-46f5-bce1-fadc9c28841f/e9be88cd-5ff2-43f4-95a8-21c9e9cf261b.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200&border=2%2CF4F2F7&border-radius=8%2C8%2C8%2C8&border-radius-inner=8%2C8%2C8%2C8&mark-x=598&mark-y=34&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz01NDImaD0xMjAmZml0PWNyb3AmY29ybmVyLXJhZGl1cz0xMA%3D%3D" size="50" width="1200" height="188" position="center" alt="Click on 'Save'" showCaption="false"}

20\. To finish the setup, rebuild your Purple App

:::hint{type="success"}
You have successfully activated Firebase for your Purple app, connected your Purple iOS app with Firebase and activated the following service:

For your Purple App (independent of operating System):

- Firebase Analytics
- Firebase Crashlytics

For your Purple iOS app (iOS only)

- Firebase Analytics
- Firebase Crashlytics
- Firebase In-App Messaging
- Firebase Cloud Messaging
- Firebase Debug Mode (Preview App only, doesn't work for live apps)
- Push for App
- Push registration on App start
:::

