...
On the Administration | Hub Settings page provide the Hub URL of the following format
http:/HubHOST:port/hub.
Сlick Register the TeamCity service in Hub. You will be redirected to the Services page in Hub.
Verify the TeamCity HUB service using the Trust button.
This action will also enable authentication to TeamCity via Hub: the JetBrains Hub authentication preset appears on the Authentication page in TeamCity Web UI, where where it can be manually disabled/enabled.After you trust the TeamCity service in Hub, return to the TeamCity Web UI to configure user synchronization.
...