How to support permissions per application but spcific to entity id


I am trying to understand how to support permissions for projects in multiple apps.
Let me try and explain what I am trying to achieve. Maybe someone more experienced with AuthO than me might be able to suggest the best way to implement this.
We have two different websites - let’s say and . In both of them, the user can log in to it create a “project” and add other users to that project.
What I want to do create an application/API in auth0 for each, and have a way to add permissions to a specific “project” (ie: manage:project for project id 1)
Any help or suggestions would be highly appreciated.
I am using @auth0/auth0-react in my ReactJS client to connect to AuthO universal login.