Deployment of checkout UI extension

I have created custom app and added checkout UI extension in that app. I just want to confirm that do I need to deploy my custom application on server (AWS or any other)? Because my assumption is extensions are deployed on shopify servers like theme app extensions so should not need to deploy the app.

If we need to deploy the custom app to run our checkout UI extension then can you please let me know what URL we will set in our application APP setup section (in partner dashboard).

Hi - hosting the app on Shopify should be possible with [extension-only apps](http://%20Extension-only apps).

How do we do this? Are you saying that extension-only apps don’t need to be hosted elsewhere?

What should the app urls be set to?

Yes the extension don’t need to be hosted on our servers. Extension like checkout extension will be hosted on Shopify servers using the command npm run deploy. Checkout UI is a type of extension so it will be hosted on Shopify server and no app URL will be generated for this. This comes from cdn.shopify.com. Hope this clears your question.

1 Like

It does!

Thank you.

When we create a post purchase checkout UI extension it auto generate tunnel urls and make entries in shopify.app.toml file. ex : application_url = β€œhttps://male-addressed-properly-generation.trycloudflare.com” redirect_urls = [
β€œhttps://male-addressed-properly-generation.trycloudflare.com/auth/callback”,
β€œhttps://male-addressed-properly-generation.trycloudflare.com/auth/shopify/callback”,
β€œhttps://male-addressed-properly-generation.trycloudflare.com/api/auth/callback”
]. So my question is how we can get the tunnel url replaced and how it works in the case of shopify hosting ? thank you for your support.

1 Like