Connecting to internet server on a headless client

I have a local client connecting to local server.

I would like to connect it to an internet server I have configured. I initially added the key from “Status” page to idents.txt file but I’m pretty sure that’s not all that I have to do. Manual has related information in 7.3 but as I understand it this is only relevant to clients with GUI.

Any tips on doing the same with headless install?

If you add a new client via web gui it shows the commands:

urbackupclientctl set-settings -k internet_mode_enabled -v true -k internet_server -v backup.example.com -k internet_server_port -v 55415 -k computername -v "example" -k internet_authkey -v theauthkey
[ ! -e /etc/default/urbackupclient ] || sed -i 's/INTERNET_ONLY=false/INTERNET_ONLY=true/' /etc/default/urbackupclient
[ ! -e /etc/sysconfig/urbackupclient ] || sed -i 's/INTERNET_ONLY=false/INTERNET_ONLY=true/' /etc/sysconfig/urbackupclient