Brahms wrote two versions of this choral : this one, in the style of an ornated choral, and another one with the choral in cantus firmus at the pedal (next file) . The theme was also used by Bach (of course), Jean Langlais and surely some other ones.
Dortmundt's 8' foundations work well here.