Hi @Ali, welcome to the forum
Sounds exciting - hopefully you can keep us updated on your progress!
This post is likely worth a read, for a few different ideas and suggestions.
Connectorising the cables (per @Qlowe’s suggestion) is potentially more robust from an enclosure watertightness perspective, but may cause issues with the signal integrity (depending on what kind of cable and signal you’re using), and is likely a bit more work.