Redirect to admin panel

Shopify Partner
3 0 1

I'm creating new app using this tutorial: https://help.shopify.com/en/api/tutorials/build-a-shopify-app-with-node-and-express .

The app is created and I can run my app from shopify admin > Apps >MyApp . 

but when I install my app it remains on ngrok page . how can I redirected to mystor.shopify.com/admin ?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
319 59 43

 

Hi @samurai_code 

 

You will need to embed your app in the Shopify Admin. Please see the instructions from our App Bridge doc: https://help.shopify.com/en/api/embedded-apps/app-bridge/getting-started

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


0 Likes
Highlighted
Shopify Partner
3 0 1

Hi @vix ,

Thanks for your answer. I already embedded my app in Shopify admin because When I launch my app from Admin > App > MyApp,  it work perfect inside of admin iFrame. 

My problem is related to installation. When I install app I expect automatically redirect to admin but it doesn't happen. As I said I used Express tutorial and I didn't use Koa and Koa-route.

1 Like