What we have to do is clear, but the exact procedure to get there is another matter entirely!
I figured out what you have to say to Tekapesh. Talk to him about "rebuilding" "pods" and "better", then tell him you may have a solution to his problem. He'll agree to let you use the dream machine.