Passing the id of an object to another view

I am new to Vaadin and I am trying to build a web application with multiple users and after they log in, I would like to redirect them to their own page and I want to do that by passing the id to the main view. I’ve read this [tutorial]
(, but it’s unclear to me what should I pass to UI.getCurrent().navigate(“main”, ???). Thank you for any help

You can catenate the url paramater in navigate target, e.g…