How to: Make your local web server public with ngrok
Requires the server version of Digital Assistant
In order to run some of Digital Assistant's features (e.g. Chat bot integrations) your server must be publicly accessible. For testing purposes we recommend using
ngrok as a tunnel for an easy way to make your web server accessible from the internet.
If your server can be reached with a public URL already, then this step will not be necessary.
Follow the steps below:
cmd prompt as an Administrator
ngrok.exe http 2014 which will expose
http://localhost:2014 to the internet and give you their address.
Copy to clipboard
Web Interface http:// 127.0.0.1:4040 Forwarding http:// 286dfa 02.ngrok.io -> localhost: 2014 Forwarding https:// 286dfa 02.ngrok.io -> localhost: 2014
Many integrations require the use of HTTPS. Therefore you should choose the latter URL for your integrations.
In the IIS Web Server under Bindings for
localhost:2014 app set the ngrok url. In other adenin documentation this is also referred to as ServerPublicURL.
On your server, open the Administration area of Digital Assistant, by navigating to
Go to Settings → Global and under
Base URL enter the ServerPublicURL determined by ngrok.