I'm doing this roughly from my head so I hope it's correct in terms of names/labels, but here's how:
1) Start a new default project in TG2.
It will start with a default empty heightfield, don't touch it for now.
2) In the terrain tab create an alpine shader.
Choose the desired seed value and other settings of your alpine fractal.
3) Once the settings are fine with you disconnect the alpine fractal node from the network.
Then connect the alpine fractal to the shader input of the heightfield generate node (the green node of the heightfield, connection to the right)
4) Inside the heightfield generate you can see a "use shader" tab. In that tab make sure that the shader defined is the alpine shader.
You can set the coordinates/size of the heightfield there.
5) Press "generate" and the heightfield generate node will create a heightfield from your alpine fractal.
6a) Once finished, press right mouse button on the heightfield generate node and choose "Save as" to save it as a .ter file.
6b) You can also disconnect the alpine fractal and continue working with the generated heightfield. However, it will not be stored when you save your .tgd file and thus you'd need to create it again, as described in the previous steps, in order to continue working on it after re-opening the .tgd file.
Hope this helps.
Cheers,
Martin