Setup a ngrok account#

In order to expose the Giskard Server to the internet, you would need to perform the following steps

1. Sign up here#

You will be prompted by the following:

../../_images/ngrok_aut.png

You would need to have either Google Authenticator or 1Password on your phone to generate codes.

2. Generate an API key here#

Copy the following key:

../../_images/ngrok_aut2.png

3. Expose the giskard server#

Now you can run giskard server expose --token <ngrok_API_key> which should prompt you with the following instructions::

Exposing Giskard Server to the internet...
Giskard Server is now exposed to the internet.
You can now upload objects to the Giskard Server using the following client:

token=...
client = giskard.GiskardClient("<ngrok_external_server_link>", token)

# To run your model with the Giskard Server, execute these three lines on Google Colab:

%env GSK_API_KEY=...
!giskard worker start -d -u <ngrok_external_server_link>