How to configure the creation of hubs in Hubshare from M-files

I have seen a video showing how you can right clink on content in M-files to create a hub in hubshare, but I can't find any documentation on how to configure this. Can anyone point me in the right direction.