Shopify uses [Cloudflare Quick Tunnels](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/trycloudflare/) to open a publicly accessible tunnel to your app by default. Tunneling provides a secure (HTTPS) URL to your local environment for app development with `shopify app dev`. You can optionally use ngrok tunnels as an alternative. To do so, install and run ngrok in your development environment. ## Set up ngrok 1. Set up an [ngrok](https://ngrok.com/) account. 1. Install the [ngrok CLI](https://ngrok.com/download). 1. Follow the steps in the ngrok documentation to [set up your access token](https://ngrok.com/docs/agent/#authtokens). 1. In a terminal, start ngrok using the following command. You can alternatively choose another port number.

1. Note the URL ending in `ngrok-free.app` that's returned and leave ngrok running. ## Configure and run your app with ngrok Run the following command. If you've chosen another port number, then use that instead.