Exactly the same way.

You give the the heading or text block a Name; this is the anchor.

For the Link itself, use Web Properties > Link > Link to anchor or even Link to heading.

Acorn