Setting page links

How do I get pages to link with their name in menu?

It’s unclear what you’re asking here. If you create the menus using the built-in menu Components, that’s done automatically. If you’re building some form of menu yourself, you use the Inspector to link each menu item to a page.