Can I install an App created using "Develop App" in another store of my partner account?

sajJay
Shopify Partner
3 0 0

I have an external app that uses the API keys (admin/storefornt) generated by a custom app (Apps and sales channels -> Develop Apps -> Create an App). I installed this app as instructed in the docs and generated the API keys. They are working as intended.

My requirement here is, I'm creating app-owned metafields through this external app using the "reserved prefix": `$app:`.

 

So, my questions are:

  • can I install the same in another store of the same partner account?
  • if I need these app-owned metafields duplicated in another store, how can I do this?
  • if I ever lost the API key and needed to make a new "developed app", would that duplicate all the definitions?
Replies 4 (4)

oscprofessional
Shopify Partner
15868 2373 3075

Hello @sajJay,
For Your Query here is the Answer to the asked Questions :
1. Yes, you can install the same external app in another store within the same partner account.
2.Yes, it is possible to duplicate app-owned metafields in another store. This can be achieved either manually or through the use of metafield export/import applications that allow seamless transfer of metafield configurations between stores.

3.While the probability of losing API keys is low due to token refresh mechanisms, creating a new "developed app" would not automatically duplicate all the definitions. In such a scenario, you would need to recreate the configurations, including app-owned metafields and any other settings, for the new app instance.

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
sajJay
Shopify Partner
3 0 0

Thank you @oscprofessional.

  1. I tried to find a method to install the "developed app" in my other store, but I can only see the other apps when I go into my partner account. Could you please guide me how to share the same "developed app" among different stores?
  2. As far as I'm aware according to the docs and testing, we can only create app-owned metafield definitions using GQL with the admin API key from the developed app of a store. Even if I somehow duplicate these metafields to another store (which does not have this developed app), I wouldn't be able to manage these metafields.
  3. If I create a new app and set the configurations, and use that API key, that means using `$app:` would give a different id and create new metafields, does it? Also, could you please guide me how to refresh this `Admin API access token`? Currently I cannot see a way to refresh it in the UI.

So my main questions here are;

  1. I have 2 stores under the same partner, I create one developed app in one store, configure admin API integration, and use the API key to create/update metafield definitions + add values to those metafields, and want the same metafields to be shared (with the same namespace) in my other store. Is this scenario possible?
  2. If we somehow end up changing the Admin API access token for the developed-app or end up creating a new app in lieu of using the old one due to losing the API token, then can we still manage the same metafields created by the old app token?
oscprofessional
Shopify Partner
15868 2373 3075

Hello @sajJay,
Firstly, I want to Know that your Creating an application that are Public, Private or Custom.

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
sajJay
Shopify Partner
3 0 0

Hello @oscprofessional,

I'm creating a custom app through develop apps. Configured the Admin and Storefront API access, and obtained the API access token.

Screenshot 2024-03-11 at 10.41.04 am.pngScreenshot 2024-03-11 at 10.41.27 am.png