Setup Install the FlutterFire CLI if not already done so dart pub global activate flutterfire_cli Run the configure command, select a Firebase project and platforms flutterfire configure # this will generate firebase_options.dart file inside lib