How else would it be done?
Another way to do it is via the API. I built a settings uploader. You could edit by hand the settings you want to upload in a json file. There are some sample json files in the repo.
You’d still need to get an API key for each Discourse.