All Tutorials

Authenticate a custom app with Shopify

All Tutorials

Authenticate a custom app with Shopify

Authenticate a custom app with Shopify

A custom Shopify app can interact with the Shopify API on behalf of a single store. To authenticate with Shopify by using a custom app, you need to generate an installation link from your Partner Dashboard. The merchant uses the link to go through the OAuth process and install the app on their store.

  1. From your Partner Dashboard, click Apps > Create app.

  2. Select Custom app.

  3. Provide the app's name, URL, and redirection URLs. To learn more redirection URLs, see OAuth.

  4. Click Create app.

  5. Click Generate link.

  6. Enter the merchant's domain name. For example,

  7. Click Generate link, and then click Continue to confirm.

  8. Copy the installation link from the Installation link section.

Installation links expire in 7 days if they are not used. You can generate a new installation link after the current link has expired.

Make authenticated requests

Custom apps authenticate to Shopify by providing the X-Shopify-Access-Token header in each HTTP request to the Shopify API. This access token is obtained through an OAuth handshake. To learn more about how OAuth works, see OAuth.