The invention relates to a biocompatible body to be implanted into a cavity of a bone, comprising a main structure made of a bone substitute material. According to the invention, the body has a connecting element, said connecting element being embedded at least partially in the main structure of the body.