{"id":4162,"date":"2018-07-26T12:02:28","date_gmt":"2018-07-26T12:02:28","guid":{"rendered":"https:\/\/demos.welaunch.io\/fire-push\/?post_type=faq&#038;p=1473"},"modified":"2023-12-07T20:29:56","modified_gmt":"2023-12-07T19:29:56","slug":"firebase","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/firebase\/","title":{"rendered":"Create a Firebase Messaging Account"},"content":{"rendered":"<p>Our plugin uses Googles Firebase Messaging Service to send background notifications. You will need to setup a free account on their service to use our plugin and here we explain how you can do it.<\/p>\n<h2>Add a new Project<\/h2>\n<p>Visit this link:\u00a0<a href=\"https:\/\/console.firebase.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/console.firebase.google.com\/<\/a><\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_1902848000\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"468\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project-1024x470.png\" class=\"attachment-large size-large\" alt=\"create firebase project\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project-1024x470.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project-247x113.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project-510x234.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project-300x138.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project-768x353.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/02-create-firebase-project.png 1281w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_1902848000 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-980560629\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-980560629 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>Then click on add proejct and follow the setup steps.<\/p>\n<h2>Create Web App<\/h2>\n<p>After adding the project you will get to the dashboard. From here click on the top left gear icon &gt; project settings:<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_690926490\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"444\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/fire-base-project-settings.png\" class=\"attachment-large size-large\" alt=\"\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/fire-base-project-settings.png 976w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/fire-base-project-settings-247x112.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/fire-base-project-settings-510x232.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/fire-base-project-settings-300x136.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/fire-base-project-settings-768x349.png 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_690926490 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-1099674700\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1099674700 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>Then click on the bottom the 3rd (the code icon).\u00a0<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_1024064135\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"297\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-1024x298.png\" class=\"attachment-large size-large\" alt=\"\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-1024x298.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-247x72.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-510x149.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-300x87.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-768x224.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-1536x448.png 1536w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/create-new-firebase-web-app-2048x597.png 2048w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_1024064135 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-1387725192\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1387725192 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>Then register a new app and you will get all the access details.<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_2078554459\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"977\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-1024x981.jpg\" class=\"attachment-large size-large\" alt=\"web project access details\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-1024x981.jpg 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-247x237.jpg 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-510x488.jpg 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-300x287.jpg 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-768x735.jpg 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details-1536x1471.jpg 1536w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/web-project-access-details.jpg 1554w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_2078554459 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-792065592\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-792065592 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<h2>Create a Realtime Database<\/h2>\n<p>In order to get a database URL which is required for our plugin you have to create a realtime database in firebase.<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_289010343\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"506\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database-1024x508.png\" class=\"attachment-large size-large\" alt=\"firebase - create realtime database\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database-1024x508.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database-247x123.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database-510x253.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database-300x149.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database-768x381.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/firebase-create-realtime-database.png 1149w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_289010343 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-1191606772\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1191606772 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>Click on Realtime Database and then click on the button &#8220;Create Database&#8221;.<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_342233253\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"896\" height=\"464\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/setup-a-firebase-database.png\" class=\"attachment-large size-large\" alt=\"setup a firebase database\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/setup-a-firebase-database.png 896w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/setup-a-firebase-database-247x128.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/setup-a-firebase-database-510x264.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/setup-a-firebase-database-300x155.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/setup-a-firebase-database-768x398.png 768w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_342233253 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-1562088690\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1562088690 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>Chose a datababase location and then security roles. You can start by using locked mode.\u00a0<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_301022050\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"622\" height=\"375\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/copy-database-url.png\" class=\"attachment-large size-large\" alt=\"copy database url\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/copy-database-url.png 622w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/copy-database-url-247x149.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/copy-database-url-510x307.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2022\/05\/copy-database-url-300x181.png 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_301022050 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-1664484701\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1664484701 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>That is it. The database is created and you can copy the reference URL into our plugin settings.<\/p>\n<h2>DEPRECATED: Get Firebase Server Key<\/h2>\n<p>The server key is no longer needed or valid and will not work after 2024. Use the <a href=\"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/upgrade-google-firebase-fcm-to-http-1\/\">JSON config<\/a>.<\/p>\n<div class=\"message-box relative dark\" style=\"padding-top:15px;padding-bottom:15px;\"><div class=\"message-box-bg-image bg-fill fill\" ><\/div><div class=\"message-box-bg-overlay bg-fill fill\" style=\"background-color:rgb(80, 77, 190);\"><\/div><div class=\"container relative\"><div class=\"inner last-reset\">\n<div class=\"row align-middle align-center\"  id=\"row-1786429295\">\n\n\t<div id=\"col-1687115571\" class=\"col medium-9 small-12 large-9\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<p>To get the firebase upgraded JSON file, see here.<\/p>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n\n\t<div id=\"col-499079446\" class=\"col medium-2 small-12 large-2\"  >\n\t\t\t\t<div class=\"col-inner text-center\"  >\n\t\t\t\n\t\t\t\n<a href=\"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/upgrade-google-firebase-fcm-to-http-1\/\" class=\"button white is-outline\" style=\"border-radius:99px;\">\n\t\t<span>Upgrade Guide<\/span>\n\t<\/a>\n\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n<\/div><\/div><\/div>\n\t<div id=\"gap-2017734520\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-2017734520 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p>The server key is needed to send notifications to Google&#8217;s Server. Click on the gear icon on top left and then on settings.<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_2087303377\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"129\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key-1024x130.png\" class=\"attachment-large size-large\" alt=\"Get Server Key\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key-1024x130.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key-247x31.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key-510x65.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key-300x38.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key-768x97.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/06-Get-Server-Key.png 1049w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_2087303377 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n<p>Then click on the &#8220;Cloud Messaging&#8221;-Tab, where you can see your server key. Copy it also to the temporary file and you are done.Next: Setup the Plugin<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_1792883595\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"481\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key-1024x483.png\" class=\"attachment-large size-large\" alt=\"Copy Firebase Server Key\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key-1024x483.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key-247x117.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key-510x241.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key-300x142.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key-768x363.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/07\/07-Copy-Server-Key.png 1038w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_1792883595 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4162","faq","type-faq","status-publish","hentry","faq_topics-fire-push-getting-started"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=4162"}],"version-history":[{"count":6,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4162\/revisions"}],"predecessor-version":[{"id":16791,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4162\/revisions\/16791"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=4162"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=4162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}