"What works safely" and "what is code" may not be the same.
Do you have enough elevation on the condensate drain to run it into a nearby toilet, or a toilet tank, or drain it into a shower?
If none of the above are available, and your drains are above the top of your sewage basin, you could put a tee or tap a small elbow fitting into the side of the vent from the sewage basin, and connect the condensate drains into a P-trap constructed with fittings large enough to handle the condensate flow. The risk of that is that if the sewage basin floods above the top of the connection, it will back up into your condensate drains.
I suppose you could also put a trapped connection into the top of the sewage basin and connect a vent from it into the vent of the sewage basin, at least 6" above the highest fixture that drains into the basin.