Hi there welcome
I think this is what you are looking for?
If you are not an admin and you can’t install that or it isn’t installed, you can still make your table of contents with the header links. the chain link on the left of the header is what appears when you hover - you can right-click on the link and copy the link address.