XVA and in particular CVA (Credit Valuation Adjustment) has an invaluable literature, with various methodologies suitable for the different needs of the user. However, in a real-life situation, when implementing a solution in an existing pricing library, one has to face a few additional challenges related to design, data, legal agreements and has to meet regulatory requirements as well.