1. Tune a melodic instrument to the organ
2. Transpose the organ part
3. Transpose the melodic instrument's part
When you play on an old organ, sometimes transposing is the only option there is. That's why mastering this skill is essential for organists because string and wind players rarely have the capacity to do it themselves.
Never let transposition scare you.