Solved! Go to the solution
This is an accepted solution.
Hi @ZhangJY ,
No, in order for the app to be Embedded in the Shopify Admin it needs to be publicly available over the open Internet. This is because an Embedded App just means that Shopify is loading your app inside an iframe through its Admin, and for the iframe to load correctly your app must be hosted and available on a public domain accessible by Shopify's servers.
If you are finding it difficult to work with ngrok, you can either deploy your app on your own hosted Web Server (e.g. nginx, Apache) or you can deploy your app to a cloud server (e.g. Heroku, AWS, Google Cloud). Here is a helpful tutorial from Shopify on how to build an app and deploy it to Heroku so it can be installed on a store and embedded into the Admin: https://www.youtube.com/watch?v=yGxeoAHlQOg
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution