The admin configures it with a tag or tags; any communities tagged with a tag that matches will be listed in this web part.