Application configuration in Shopify portal for Basic HTTP Authentication to use in Shopify

Snaps in the Shopify Snap Pack use the Shopify Basic Auth Account to access the Shopify application. For the Basic Auth account to function without any issue, you must create and configure a private app corresponding to the account.

Create a Private App and Generate API Credentials (Username and Password)

  • The Private apps use Basic HTTP authentication to use Shopify’s API resources. The private apps are created for a single Shopify store or a small group of clients.

  • Private app is available only for Managed store. The store owner must enable private app development to generate the API credentials from the Shopify store that you want to connect with your app. These credentials are used for identifying the app during the authorization process.

  1. Log into the Shopify Portal.

  2. In the left navigation pane, click Apps and select Create app on the top-right of the page.

  3. Click Manage private apps at the bottom of the page.

  4. Click Create new private app.

  5. In the App details section, enter a name for the private app and a contact email address. Shopify uses this email address to contact the developer if there is an issue with the private app due to an API change.

  6. In the Admin API section, provide the required permissions for the app to access the required areas of your store.

  7. Generate API credentials.

  8. Optional: To use the Storefront API, select Allow this app to access your storefront data using the Storefront API, and then select the types of data you want to expose to the app.

  9. Click Save.
    The Admin API section shows the app's API key and password.

    You can use these credentials to make authenticated requests. Private apps can authenticate through basic HTTP authentication by using their Admin API key and password as a username and password.

See Also