Need help in building my Application

Hi everyone, seeking advice here. I’m developing an app that lets users generate AI content from their Atlassian instances. I’m grappling with how to control usage within each instance by setting limits. My current plan is to use a single token across all instances, track usage data, and enforce limits accordingly. Any thoughts or suggestions on a better approach?