Remote MYSQL db SSH

I've just started to deploy a remote hosted app to a shared hosting server . I'm using a MySql database and it needs to use SSH, I've got most of the login info but I need a private key. I'm not very familiar with SSH, do I just use one of the SSH keygen programs to generate a key or does Wappler do it for me. Also where does the key file need to be stored within the App.

Many thanks