If an old version is installed on the server, then you must take a backup and copy the required parameters to the new file, if the same SAM URL is used.
Before registering the web API, you must apply the following changes for App settings keys in the Intergraph.WebApi.ServiceConfigurationTool.exe.config file:
File is located at <installed path>\tools\WEBAPIConfigTool.
ServiceManagerUrl - Add the SAM URL.
You must provide the service document details in the URL.
clientId - Client ID of the Config tool that is registered in SAM.
clientSecret - Client Secret of the Config tool that is registered in SAM.
To receive clientId and clientSecret, you should register the configuration tool as a Smart client and Authorization flow as Resource Owner in SAM manually. To know more, refer to SAM help documents.