Well, it's best done with the chain riveting tool. Any decent MB mechanic should have this though. Some people have carefully peened the chain links with a ball-peen hammer and a dolly, but I'd avoid that if possible. Photos of the riveting tool kit are at
this link.