Getting Started
Last updated
Last updated
This section will guide you through the prerequisites, installation and essential steps to set up and initialize the Firebase Dart Admin Auth SDK within your project.
If you want to use the Firebase Dart Admin Auth SDK for implementing a Firebase authentication in your Dart or Flutter projects follow the instructions on how to set up the auth SDK.
Ensure you have the and SDK installed in your system.
The Dart SDK should be at least — Dart 3.2+
To use the Firebase Dart Admin Auth SDK, you'll need the following:
A Firebase project
A Firebase Admin SDK service account to communicate with Firebase. This service account is created automatically when you create a Firebase project or add Firebase to a Google Cloud project.
A configuration file with your service account's credentials.
If you don't already have a Firebase project, you need to create one in the .
To use the Firebase Dart Admin Auth SDK, you'll need to set up a basic Flutter project.
If you don't already have a Flutter project, you need to create one in the console.
Create a Flutter project
Run the following command in the console to create a Flutter project from your terminal.
This will create a project directory with the basic project files and dependencies.
Navigate into the project directory:
For more details on how to set up your Flutter project from VS Code, Android Studio or IntelliJ, .
The next step is to install the Firebase Dart Admin Auth SDK in your project. Check how to .