Solved

How to create a non-embedded app in shopify

sbdev
Shopify Partner
48 0 10

Hello,

 

I have been here and there to find that how to create a non embedded app in shopify And not yet find any helpful documentation for this, I want to load my app outside from shopify i frame, If anyone has achieved this please guide us steps to accomplish this. I thank you so much for hearing me.

Accepted Solution (1)

hassain
Shopify Staff (Retired)
624 104 187

This is an accepted solution.

Hi @sbdev ,

 

Are you trying to build a public app, or just an app for your one store only?

 

If it is just an app for your store, you need to create a Private App. When you create a Private App, you will get API credentials. With these API credentials, you can make any request you want to the Shopify Admin API and Storefront API through any client you want. Follow these guides for help here: https://help.shopify.com/en/manual/apps/private-appshttps://shopify.dev/tutorials/authenticate-a-private-app-with-shopify-adminhttps://weeklyhow.com/shopify-private-app/ 

 

If its a public app, make sure in the partner dashboard you select to not embed your app into the Shopify Admin: https://shopify.dev/tutorials/embed-your-app-in-the-shopify-admin  

 

In both cases, make sure you do not use the Shopify App Bridge library or EASDK (or another library/gem which uses these client side libraries - like shopify_app), as these client side libraries are for embedding your app into the Admin. 

 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 5 (5)

hassain
Shopify Staff (Retired)
624 104 187

This is an accepted solution.

Hi @sbdev ,

 

Are you trying to build a public app, or just an app for your one store only?

 

If it is just an app for your store, you need to create a Private App. When you create a Private App, you will get API credentials. With these API credentials, you can make any request you want to the Shopify Admin API and Storefront API through any client you want. Follow these guides for help here: https://help.shopify.com/en/manual/apps/private-appshttps://shopify.dev/tutorials/authenticate-a-private-app-with-shopify-adminhttps://weeklyhow.com/shopify-private-app/ 

 

If its a public app, make sure in the partner dashboard you select to not embed your app into the Shopify Admin: https://shopify.dev/tutorials/embed-your-app-in-the-shopify-admin  

 

In both cases, make sure you do not use the Shopify App Bridge library or EASDK (or another library/gem which uses these client side libraries - like shopify_app), as these client side libraries are for embedding your app into the Admin. 

 

To learn more visit the Shopify Help Center or the Community Blog.

codemicky
Tourist
4 0 1

Hi @hassain 

I have build a Shopify Embedded App using shopify_app gem.

But I am not sure how I can convert a Embedded App into non-embedded App.

In config/initializers/shopify_app.rb, I have changed to

config.embedded_app = false

But the App still is in the AppBridge. Can you please help me?

Thank you.

techera
Visitor
2 0 1

set config.forceRedirect in _app.js as false

RobinKaith
Shopify Partner
27 2 2

Hi @hassain 

I am building a Shopify public app, Can I use the non-embedded app for public app. Can this is right approach? Will Shopify approves my app, If I use the non-embedded app for public app.

Note:- I know If I am using non-embedded app, I should not use Shopify App Bridge.

steamroller
Shopify Partner
8 0 2

Apps -> App -> App Setup -> Scroll down -> Embedded app -> Manage -> Disable

Screenshot from 2023-05-09 17-40-24.png