Adding a navbar

Maybe a stupid question but I get a little messed up to find documentation on this subject. I read several approaches to create a navbar. Even found a extension to do this. I would like to include the template in my base.html with:

{% include "menu.html" %}

What is a good practice to populate the menu structure and make it personalized based on the user groups?

We created a context processor that makes the menu structure for a specific user available in every page.

Thanks going to study that!