Without further configuration you will not be able to put a widget from TeamCity onto a dashboard in Hub. Usually you can create a widget but it will not load any data complaining about “Cannot load project list” or something similar.
The reason for it is that some CORS configuration on the TeamCity side is needed.