ngrokとは
ngrokは、ローカルサーバーをインターネットに公開するためのリバースプロキシサービスです。例えば、外部のサービスからローカルサーバーのWebhookにリクエストを送信するというようなことができるようになります。
利用開始までの手順(Macの場合)
公式サイトでアカウント作成
ngrok: deliver your apps, APIs, and AI on local and prod
ngrok is developer infrastructure that routes and secures traffic to your apps, APIs, and AI models, wherever they run. Start on localhost, ship to prod.
ngrok.com

公式サイトでアカウントを作成してダッシュボードにログインします。
その後、ダッシュボードの「Setup & Installation」に従ってコマンドを実行していくと利用できます。以下は各コマンドの解説です。
インストール
brew install ngrok/ngrok/ngrokHomebrewでngrokをインストールします。
Authtokenを設定
ngrok config add-authtoken [Authtoken]このコマンドの後 ~/Library/Application Support/ngrok/ngrok.yml に設定ファイルが保存されています。
ローカルサーバーをインターネットに公開
ngrok http --domain=xxxx-yyyy-zzzz.ngrok-free.app 80Static Domainを選択することで、固定ドメインで公開できます。
便利な機能
Web Interface
http://127.0.0.1:4040 にアクセスするとWeb Interfaceで各種ステータスやリクエストのログなどの確認ができます。