In this work, we investigate an excitonic monomer and an excitonic dimer coupled to a resonant optical cavity. The excitonic part is described by a Frenkel excitonic Hamiltonian. We perform spectroscopy simulations for both monomers and dimers placed outside and inside the cavity and compare the changes induced by coupling to the cavity.