How to link a new app from Shopify partner dashboard to my local development project

Hi, I am trying to get the access token for my Shopify admin app so it can access Shopify store product information. Most of the articles I read suggested me to create a new app from the Partner dashboard. However, my current local Shopify app project can already create a new app and have itself installed on my dev store by running npm run dev -- --reset.

From this tutorial https://shopify.dev/docs/apps/getting-started/create I read that I can “Creating an app in the Partner Dashboard, and connecting your local code to the app”.

Can someone explain how this can be done? Or is there a better for me to get access token for my Shopify app?

Thanks

Good luck getting a reply in this forum. The documentation says to use the --reset flag for this purpose but the documentation didn’t elaborate on where the flag should be used.