Marketing

Firebase Cloud Messaging

5min
with the firebase cloud message app in {{product name}} , you can send messages to specified devices requirements to use firebase cloud messaging, you must have a google account connect firebase cloud messaging and {{product name}} to create the connection log in to your {{product name}} account, add a firebase cloud messaging module to your {{scenario singular lowercase}} , and click create a connection optional in the ​​ connection name​​ field, enter a name for the connection optional switch on show advanced settings and enter your google cloud platform project client credentials for more information, see the firebase cloud messaging docid 0f0hujxzcubxoc4f v ii below click sign in with google if prompted, authenticate your account and confirm access y ou've successfully created the connection and can now use the firebase cloud messaging app in your {{scenario plural lowercase}} if you want to make changes to your connection in the future, follow the steps connect an application docid\ so88fm6pkt0g adkddfzz create and configure a google cloud platform project for firebase cloud messaging to connect to {{product name}} using your own client credentials, you can create and configure a project in the google cloud platform create a google cloud platform project for firebase cloud messaging to create a google cloud platform project log in to the google cloud platform using your google credentials on the welcome page, click create or select a project > new project if you already have a project, proceed to the step 5 enter a project name and select the location for your project click create select a project in the top menu, check if your new project is selected in the select a project dropdown if not, select the project you just created to create a new project or work in the existing one, you need to have the serviceusage services enable permission if you don’t have this permission, ask the google cloud platform project owner or project iam admin to grant it to you enable apis for firebase cloud messaging to enable the required apis open the left navigation menu and go to apis & services > library search for the following api firebase management api and firebase cloud messaging api click the relevant api, then click enable if you see the manage button instead of the enable button, you can proceed to the next step the api is already enabled configure your oauth consent screen for firebase cloud messaging to configure your oauth consent screen in the left sidebar, click google auth platform if you don't see google auth platform i n the left sidebar, click view all products at the top of it, then pin google auth platform to the sidebar google auth platform click get started in the overview section, under app information , enter make as the app name and provide your gmail address click next under audience , select external click next for more information regarding user types, refer to google's exceptions to verification requirements documentation under contact information , enter your gmail address and click next under finish , agree to the google user data policy click continue > create click create oauth client create oauth client in the branding section, under authorized domains , add make com and integromat com click save optional in the audience section, add your gmail address on the test users page, then click save and continue if you want the project to remain in the testing publishing status read the note below to learn more about the publishing status in the data access section, click add or remove scopes , add the following scopes https //www googleapis com/auth/userinfo profile https //www googleapis com/auth/userinfo email https //www googleapis com/auth/firebase messaging https //www googleapis com/auth/firebase you can add scopes using a table with filters a window to manually enter scopes click update click save publishing status testing if you keep your project in the testing status, you will be required to reauthorize your connection in make every week to avoid weekly reauthorization, update the project status to in production in production if you update your project to the in production status, you will not be required to reauthorize the connection weekly to update your project's status, go to the google auth platform , the audience section, and click publish app if you see the notice needs verification , you can choose whether to go through the google verification process for the app or to connect to your unverified app currently connecting to unverified apps works in make, but we cannot guarantee the google will allow connections to unverified apps for an indefinite period for more information regarding the publishing status, refer to the publishing status section of google's setting up your oauth consent screen help create your firebase cloud messaging client credentials to create your client credentials in google auth platform, click clients click + create client create client in the application type dropdown, select web application update the name of your oauth client this will help you identify it in the platform in the authorized redirect uris section, click + add uri and enter the following redirect uri https //www integromat com/oauth/cb/fcm authorize redirect uri click create click the oauth 2 0 client you created, copy your client id and client secret values, and store them in a safe place you will use these values in the client id and client secret fields firebase cloud messaging modules after connecting to thefirebase cloud messaging app, you can use the following types of modules to build your {{scenario plural lowercase}} actions send a message templates you can look for firebase cloud messaging templates in make's template gallery , where you'll find thousands of pre created {{scenario plural lowercase}} firebase cloud messaging resources firebase cloud messaging api documentation