in this video I'm going to show you how to deploy your app to the Google Play Store so I've got my parks of Mars app right here and you want to go into your settings and come down here to mobile deployment so here's the deployment to app store that's the Apple App Store so we're just going to close that up here because we're going to focus down here in the Google Play Store now when you're all ready to deploy all you need to do is smash this button right here but there's two things we need
to do before we push that button first we need to set up our app in the Google Play Store and second we need to connect flutter flow to our Google Play store okay so step one setting up our app in the Google Play Store now there's one prerequisite for this and that's that you have to have a Google developer account and you can do that by going to this URL it does cost $25 but then you have that account for life okay so after that's done you can go to the Google Play console here okay
so now we have to create our app but you might be thinking wait I thought I created my app in flutter flow yes that's true I'm just using shorthand here what you need in the play console is basically a shell for your app that has some configuration that then flutter flow will dump the app the app bundle into so we're doing that configuration right here so you want to come up here and create an app and give it an app name so parts of Mars language whether it's an app or a game whether it's paid
or free and just accept these terms great let's create our app okay awesome it's created now this was confusing to me but if you look on the left side it might look similar to the last screen wherea but we're actually inside the app so if you go back to all your apps here's all the settings for your Google Play console account and then down here is where all your apps are and when you click in them we're now inside our app okay awesome the next step is to do a bunch of configuration for your app
and you can just scroll down here to set up your app and look at all the tasks you have to accomplish I'm not going to go through these now because they're very easy and they're going to be specific to your app but you don't actually have to do all of these before we dump your app in here from flutter flow and that process of dumping of sending it over here will normally take a few minutes and it'll take a little bit longer the first time you do it so let's actually do that first so while
you're waiting you can do these things so that first step is done well we're just going to put this stuff off for later setting up your app in the Google Play console the next step is to connect flutter flow to this account so you can send your app in here and we'll do that through Google Cloud platform so if you don't have an account sign up for it now and then we'll jump in there all right so I'm in a new project in Google Cloud platform and I need to do two things and let me
give you the big picture of what needs to happen here first we need to enable access to the Google Play console API then we need to create an account that's allowed to use that API now this account is not going to be a human it's for a computer this will be the account that flutter flow uses to send our app from flutter flow into the Google Play console so you can just search for Google Play Android and this is what you want the Google Play Android developer API and enable that service beautiful next we need
to create credentials that is so our user so flutter flow is authorized to use this and the only thing you need to select here is that it's accessing application data not user data next here we're creating that account that service account and like we said before a service account in the Google collab platform is just a special nonhuman account that applications use to securely interact and access Cloud resources like the Google Play console API and we'll just call it parks of Mars it'll Auto generate the email address for that account and you can put a
description if you want create next we need to give it a roll and this is going to be service account user great and continue and you can leave those blank for now and done next we want to go into that account so you can just search for service accounts and that's the account we just created and we need to make keys for this account to give to flutter flat so that it's authorized to make the requests so you can come into actions and manage keys and come over to add a key create a new key
and we want Jason this will download the key to your computer so you can just close that and now let's jump back over to flutter flow to upload this key so here's our service account credentials and you can just upload that file you just downloaded beautiful next we need to give that service account we created to our Google Play account in the Google Play console so back in Google Cloud platform here you can just click on service accounts and you can just hover over this email address and copy it so we're back here in the
Google Play console and you want to come out of this app right here and go in here to users and permissions you want to invite a new user and you can paste in that service account email address we just set up and come down to app permissions and we want to select which app this account has access to and it's one we just created here and apply next you want to add in here edit and delete draft apps and all of these release options and the store and user feedback and apply and finally don't forget
this button at the bottom right here to invite the user send invite all right so everything's connected so we can jump back into flutter flow now so next we want to select a Google Play track to deploy this on and we've got four different options the first three of these are for testing and the last production is when you're actually going to launch your app to the public now where are these tracks in the Google Play console well let me show you that those are in this testing dropdown right here so open is beta closed
is Alpha and internal is internal okay so what's the difference between these three well there are a few differences now there's two things to keep in mind with these options first is that there's an order from more early to the testing phase to getting closer to production that is internal is the earliest and then to closed open open and then production second these aren't required so you can choose to deploy your app to just one or all of these or none of them and go straight to production these are just options available to you okay
so what are the differences first number of testers so the internal track has a maximum of 100 testers and the other ones have no limit next is the availability of it so for internal and closed Alpha people get access to your app through email when you're an open Beta it'll be accessible on the Play Store that is anyone next review so for internal and open Beta there's no review by Google but there is with closed Alpha and finally payment so if this is a paid app your closed Alpha and open Beta group will have to
pay to use the app but not for internal so let's just start out with internal for now and we're ready to smash that button except we get this error because we haven't set an icon so make sure you do that and you can do that in app assets over here all right so let's set a launcher icon beautiful now we're ready so let's go back over to mobile deployment and we can smash the that button deploy all right great it's successfully submitted now that doesn't mean it's there yet because it'll take a little bit for
flutter flow to generate the binaries the code for the play console so you can check the build status to see where you're at right now it's queed and now would be a good time now this can take 20 or 30 minutes for the first time so now would be a great time to go fill out the rest of that information about your app and it failed but that's actually a good thing because for the first time you deploy you actually have to upload your app bundle this aab file yourself and I'll show you how to
do that so just click to download and let's jump over into the console so we were still in users so you can just come back to all apps right here and go into your app now we wanted to deploy on our internal track so you want to go to internal right here and create a new release now first we have to choose a signing key which you can just use a Google generated key and then you can upload that aab file okay beautiful it's been uploaded we can see the version there the first one and
if you want to give it a release name or release notes you can do that there and go next and save all right so we upload it for the first time so now let's deploy it again it's submitted and let's check our build status and it's queued up okay let's just wait a few minutes wait and we failed again why is that well you can click on here and see and the error is because only releases with a status of draft may be created on the draft app but that's okay you can just come down
here to advanced settings and select this submit as draft that's what this is for and then just deploy again beautiful and it finished successfully this time let's go take a look at it in the play console so this is our first release and if we just refresh boom there we see our second one next if you want to add testers for this app you can come in here to your testers these are lists that are autogenerated for you and you can take a look at them and add more in here if you want then you
can just create an email list off of it and if you send them this link they'll be able to to access your app finally how do we actually send this app into production well there's two ways first you can promote a release you've already made you can come here to promote release and I can promote it to production this will bring me into my production track where you're creating a production release so you would just come in here and fill out whatever information you want and then go next now I'm getting these areas because I
haven't filled out the information in the beginning if you remember here to set up your app so make sure you do that the other way you can do it is the way that we did it in the beginning with the internal testing so we go into flutter flow and we deploy from a production track it will fail and then we download that aab file create a production release and then upload it there it works the same way and once you have that and filled out all the information you're ready to publish and that's how to
deploy your app to the Google Play Store