Add public app to Shopify development store from partner account 404 error

I am trying to add a public app I created via the Shopify CLI in my partner account to my development store, but I am getting a 404 error.

I go to my partner account > Apps > my draft public app > Select store > my dev store > I get 404 error from GitHUb pages

I found the solution. I had not yet run shopify app serve from the CLI. Needed to do that first so it could redirect.