Can you auto-generate menu items based on tags or product type?

Hello, a variant of this thread … I’m developing an app.

When the app is installed on a store, it should change the online store menu by adding some new menu items that link to javascript in the app’s code.

How can I accomplish this task?

Thanks! jb