Add on works on saved API credentials, which will get my account data only

Hello,

I’m trying to develop new jira Addon, and in this addon I’m consuming Jira APIs to list all the projects/ and the tasks of each project, but as I’m using my credentials to connect to jira API i’m listing my projects/and tasks on the addon view page so any one install this plugin would list only my data

How can I customize the addon/API to list the projects/tasks any data according to the jira domain that the addon installed on it

Thanks