Shopify public app - how to get key, token & url

Hi All,

I am totally new to Shopify Public App development and I will need your help to understand it a bit better.

For a client, I need to build a Shopify Public App that will be used by several Merchants.

This application will have to access the Merchants’ store via the Admin API.

If my understanding is correct, in order to access one specific Merchant’s story via the Admin API, I need to have 3 pieces of information from that Merchant’s store: the Public API Key, Token and URL.

Now, my question:
When the Shopify Public App is installed by a Merchant, how does my app get these 3 pieces of information (specific to that particular merchant) ?
Is there any “magic” trick? Does the Merchant need to input this info? …

In advance, many thanks for your help

Have a great day

Hello @boeledi

Please check out this link : https://shopify.dev/apps/auth/oauth/getting-started

Everything has been explained here step by step.

On installation of store you can save access_token, platform_domain in the database and you can get this from Shop API.