Chain

How  do you mate the links in a chain for a staticstressanalysis?SolidworksSimulation