<\/figcaption><\/figure>\n\n\n\nThese steps are optional, but make managing your tunnel much easier since you can do it through the Zero Trust UI rather than through the Cloudflared CLI. <\/p>\n\n\n\n
Click on the tunnel name, then click configure<\/code> in the popout that shows<\/p>\n\n\n\n<\/figcaption><\/figure>\n\n\n\nAt this point you will need to run the tunnel in order to start the migration. Run the following command to start it up:<\/p>\n\n\n\n
Bash<\/span><\/path><\/path><\/svg><\/span>cloudflared<\/span> <\/span>tunnel<\/span> <\/span>run<\/span> <\/span>default<\/span><\/span>\n<\/span><\/code><\/pre><\/div>\n\n\n\nThis will enable the Start migration<\/em> button. You can click it now.<\/p>\n\n\n\n<\/figcaption><\/figure>\n<\/div>\n\n\n\nNow just confirm all steps, no need to fill anything out, and confirm the migration:<\/p>\n\n\n\n<\/figcaption><\/figure>\n\n\n\nYou should now see it listed as Healthy<\/code>!<\/p>\n\n\n\n<\/figcaption><\/figure>\n\n\n\nNow we need to configure the public hostnames we want to use. Click on the title of the tunnel then Configure <\/code>in the popout again. On the following page go to the Public Hostname<\/code> tab, and let’s Add a public hostname<\/code><\/p>\n\n\n\n<\/figcaption><\/figure>\n\n\n\n\n
Fill out the info:<\/p>\n\n\n\n
\nSubdomain: the name of the subdomain you want<\/li>\n\n\n\n Domain: the domain of the tunnel<\/li>\n\n\n\n Path: I dont set this<\/li>\n\n\n\n Type: HTTP<\/li>\n\n\n\n URL: Where the tunnel points to locally. I use localhost:8002<\/code> where the port :8002<\/code> is where I point all my app to run in development<\/li>\n<\/ul>\n<\/div>\n\n\n\n<\/figcaption><\/figure>\n\n\n\nTo confirm: you can go to your domains DNS settings and you should see the listing for your tunnel:<\/p>\n\n\n\n<\/figcaption><\/figure>\n\n\n\nFinally, go to your app settings in Shopify, and change your development apps App URL<\/code>‘s to the newly created tunnel url:<\/p>\n\n\n\n<\/figcaption><\/figure>\n\n\n\nYou’re done! Now whenever you start development, just make sure to start up your tunnel service using the start command:<\/p>\n\n\n\n
Bash<\/span><\/path><\/path><\/svg><\/span>cloudflared<\/span> <\/span>tunnel<\/span> <\/span>run<\/span> <\/span>default<\/span><\/span><\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"This will be a quick tutorial on creating a tunnel service using Cloudflare’s Tunnel solution to start developing Shopify apps locally, quickly, and without the need for changing tunnel endpoints. Also, Ngrok is great, but free is better. The first…<\/p>\n","protected":false},"author":2,"featured_media":5765,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,18],"tags":[35,22,31],"_links":{"self":[{"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/posts\/5517"}],"collection":[{"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/comments?post=5517"}],"version-history":[{"count":6,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/posts\/5517\/revisions"}],"predecessor-version":[{"id":5767,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/posts\/5517\/revisions\/5767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/media\/5765"}],"wp:attachment":[{"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/media?parent=5517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/categories?post=5517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/innovonics.com\/wp-json\/wp\/v2\/tags?post=5517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}