Generating an admin API token from dev dashboard

I’m trying to enable my app to write products to my dev store. I previously set this up by creating an app within the store, enabling scopes, and then generating a token like shpat_. Then, using the shopify admin client library, with the storefront domain and token, I was able to write products to the store.

I’m trying to figure out how this is done with the new dev dashboard, as I don’t see anywhere an admin token is created. Could someone point me in the right direction, or in the docs?

Hi Anthony - you can use client credentials grant for apps created in the dev dashboard. The documentation is available here: Using the client credentials grant

Why did you guys made it SO hard to get an access token? Im trying to set up an auth flow in my headless shopify e-commerce where the user inputs their email, then i check if they exists in my customer db with shopify’s admin api but it was SO hard to find this. I feel like the documentation is VERY confusing.

1 Like