  SIDDHARTA-2 represents a state-of-the-art experiment designed to perform
dedicated measurements of kaonic atoms, which are particular exotic atom
configurations composed of a negatively charged kaon and a nucleus.
Investigating these atoms provides an exceptional tool to comprehend the strong
interactions in the non-perturbative regime involving strangeness. The
experiment is installed at the DA$\Phi$NE electron-positron collider, of the
INFN National Laboratory of Frascati (INFN-LNF) in Italy, aiming to perform the
first-ever measurement of the 2p$\rightarrow$1s X-ray transitions in kaonic
deuterium, a crucial step towards determining the isospin-dependent
antikaon-nucleon scattering lengths. Based on the experience gained with the
previous SIDDHARTA experiment, which performed the most precise measurement of
the kaonic hydrogen 2p$\rightarrow$1s X-ray transitions, the present apparatus
has been upgraded with innovative Silicon Drift Detectors (SDDs), distributed
around a cryogenic gaseous target placed in a vacuum chamber at a short
distance above the interaction region of the collider. We present a
comprehensive description of the SIDDHARTA-2 setup including the optimization
of its various components during the commissioning phase of the collider.
