Custom apps
You can use this package to build apps that are distributed in the Shopify Admin, also known as merchant custom apps. These apps do not Authorize by OAuth, and instead use a access token that has been generated by the Shopify Admin.
Before creating a new app to be distributed with the shopify admin, you should be familiar with the limitations of the different distribution types
Before creating a new app to be distributed with the shopify admin, you should be familiar with the limitations of the different distribution types
Anchor to Configure your appConfigure your app
After you have created and configured your app in the Shopify Admin update your code with the API Key, API Secret Key, and the access token.
Configure your app credentials
shopify.server.ts
Anchor to Configure your app settingsConfigure your app settings
Configure shopifyApp with the following values
distribution-AppDistribution.ShopifyAdminappUrl-https://localhost:3000or other configured portisEmbeddedApp-false, merchant custom apps cannot be embedded
Configure app settings
/app/shopify.server.ts
Anchor to Run your app locallyRun your app locally
Merchant custom apps are not compatible with the Shopify CLI, so you must start your app directly.
After your app is running you can access it at the following URL: http://localhost:3000/app?shop=my-shop.myshopify.com
Run your app
npm
npm exec remix vite:devyarn
yarn remix vite:devpnpm
pnpm exec remix vite:dev