# Setup & Configuration

Before integrating the Mobile SDK, complete a few steps in Positive User and Firebase to generate the keys your app will need.


# Prerequisites

  • An active Positive User project
  • A Firebase project for your mobile app
  • Admin access to both

# 1. Generate a Mobile SDK Key

  1. Log in to Positive User
  2. Go to Workspace Settings → API & Integrations → Mobile App → Mobile keys
  3. Click New Mobile SDK Key

Positive User Mobile Settings Panel

TIP

A valid Mobile SDK Key is 64 characters long.


# 2. Upload your Firebase Service Key

This connects Positive User to your Firebase project so it can send push notifications and in-app messages.

  1. Open Firebase Console (opens new window) and select your project
  2. Go to Project settings → Service accounts
  3. Click Generate new private key, then confirm - this downloads a JSON file

Firebase Console panel

  1. In Positive User, go to Workspace Settings → API & Integrations → Mobile App → Mobile keys
  2. Click Add SDK Admin, name the key, and upload the JSON file

Firebase Service Key modal


# 3. Get your App Key and Domain

  1. Go to Workspace Settings → API & Integrations → Setup & Integrations
  2. Copy the Workspace Key and Workspace Domain values - you'll need both during SDK initialization

Integrations keys


# Next steps

# Sample projects