Installing a Shopify app into a dev shop

If you’ve been following the instructions to build a Shopify “app”, you may reach the end and feel like you’ve been asked to draw an owl instead.

There are a few pointers here and there on the internet, but these are the steps I went through.

First, while logged in, request the permissions you want:

You’ll then be redirected to the url you set up for your shop. If you don’t want to go through the hassle of actually deploying something yet, fear not. You can take the uri you were redirected to:


And exchange the auth code for a re-usable token:

curl -d "client_id={app_id}&client_secret={app_secret}&code={auth_code}" https://{shop}


That will grant you access, within the scopes that you requested:

curl -H "X-Shopify-Access-Token: {token}" -H "Content-Type: application/json" -d "{\"script_tag\":{\"event\":\"onload\",\"src\":\"\"}}" https://{shop}