They very much don't. STO borrows some characters and events from the novels, but that's all. Their storylines are wildly divergent. The STO novel The Needs of the Many hints that they're alternate realities in the same multiverse, but that's more of an easter egg and doesn't hold up to scrutiny. Spoiler: big huge novel spoilers showing how different they really are. Click at own risk!! -Data returned, but looks like a young Noonien Soong and is no longer a part of Starfleet. The plot completely contraricts his return in the STO-verse. -Dulmur and Lucsley's first names are different. -Deep Space Nine was destroyed and has been replaced by a new Federation-designed space station. -Sela, Donatra and Tel'aura are dead, the Romulan states are reunified and are part of the Typhon Pact. -The Borg are gone, and remain gone as far as the 31st century. -Andoria has left the Federation in the wake of the final Borg war. -The Romulans, Breen, Tzenkethi, Tholians, Kin'shiya and Gorn have forged an alliance known as the Typhon Pact. -President Bacco is dead.