After we've successfully installed the Firebase CLI, let's see the needed steps in order to get started with Firebase Cloud Functions.
- Once you've successfully installed the Firebase CLI utility, you will need to initialize your project. To do so, execute the following command:
~> firebase init functions
- Then you will need to select the project you want. This would be the project that you want to associate Cloud Functions with, or you can create a new project if you don't have a present one.
- In my case, I want to create a new project bundled with Cloud Functions, so I will use the following command:
~> firebase init
- This time, we will start with the Functions option (Figure 1):
...