How to: Make your local web server public with ngrok

In order to run some of Now 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:

  1. Run the cmd prompt as an Administrator
  2. Type ngrok.exe http 2014 which will expose http://localhost:2014 to the internet and give you their address. For example:
    Web Interface                 http://127.0.0.1:4040
    Forwarding                    http://286dfa02.ngrok.io -> localhost:2014
    Forwarding                    https://286dfa02.ngrok.io -> localhost:2014
    

    Many integrations require the use of HTTPS. Therefore you should choose the latter URL for your integrations.

  3. 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.

    IIS Server Site Binding

  4. On your server, open the Administration area of Now Assistant, by navigating to http://localhost/Admin/.
  5. Go to Settings → Global and under Base URL enter the ServerPublicURL determined by ngrok.

    Set ngrok base URL in Now Assistant