A computer-implemented method for configuring a fastening channel through a dental restoration for fastening a retaining means retaining the dental restoration, the method comprising: receiving a 3D digital restoration model of the dental restoration, the dental restoration comprising an artificial tooth; receiving a definition of an implant configured to receive the retaining means to retain the dental restoration on the implant, the definition of the implant comprising a central longitudinal axis of the implant; determining a relative positioning of the dental restoration relative to the implant; determining a position of the fastening channel extending from the implant through the artificial tooth, the fastening channel comprising a first end and a second end, the first end being a connecting end providing a connection to the implant, the second end being a mouth within an outer surface of the artificial tooth configured for receiving a fastening means for fastening the retaining means to retain the dental restoration on the implant; in case the position of the fastening channel violating a set of one or more pre-defined positioning criteria, automatically adjusting the position of the fastening channel within the artificial tooth by angulating the fastening channel such that the positioning criteria are satisfied, the angulating of the fastening channel comprising tilting a first straight section of the fastening channel relative to a second straight section of the fastening channel, the second straight section being a straight extension of the central longitudinal axis of the implant extending from the first end of the fastening channel to the first straight section, the first straight section extending from the second straight section to the second end of the fastening channel. receiving a 3D digital restoration model of the dental restoration, the dental restoration comprising an artificial tooth; receiving a definition of an implant configured to receive the retaining means to retain the dental restoration on the implant, the definition of the implant comprising a central longitudinal axis of the implant; determining a relative positioning of the dental restoration relative to the implant; determining a position of the fastening channel extending from the implant through the artificial tooth, the fastening channel comprising a first end and a second end, the first end being a connecting end providing a connection to the implant, the second end being a mouth within an outer surface of the artificial tooth configured for receiving a fastening means for fastening the retaining means to retain the dental restoration on the implant; in case the position of the fastening channel violating a set of one or more pre-defined positioning criteria, automatically adjusting the position of the fastening channel within the artificial tooth by angulating the fastening channel such that the positioning criteria are satisfied, the angulating of the fastening channel comprising tilting a first straight section of the fastening channel relative to a second straight section of the fastening channel, the second straight section being a straight extension of the central longitudinal axis of the implant extending from the first end of the fastening channel to the first straight section, the first straight section extending from the second straight section to the second end of the fastening channel.