For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I am a beginner with Shopify.
I am currently developing for my store and I am still confused after reading a lot of the official documentation.
I would like to know if a custom application created for the store can be used as an extension-only application, or do I need to have a server?
If I create a custom application, do I have to deploy it to a server to control the version?
Thank you!
Solved! Go to the solution
This is an accepted solution.
Hello @SylviaZ
To enhance security, you should create a separate API on your server that utilizes the ACCESS_TOKEN and API_SECRET. You can then call this API in your extension. Directly using the admin API in your extension could compromise security, so it's important to keep these APIs distinct and secure. you can Host your server for API.
Hello @SylviaZ
If your custom app only has extension functionality and does not interact with the admin or require merchant configuration through the Shopify Admin UI, you do not need a server. However, if your app includes an admin UI and stores data on your own server, then you will need a server to host your app
If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.
If your app only includes an extension, please refer to the documentation below for deploying your app with extension-only functionality
Thanks for your reply. I also want to ask if I call the Shopify Admin API in an extension-only app, it means I need to include the ACCESS_TOKEN, API_KEY, and API_SECRET in the static resources. Does this pose a security issue? Is there a way to enhance security?
This is an accepted solution.
Hello @SylviaZ
To enhance security, you should create a separate API on your server that utilizes the ACCESS_TOKEN and API_SECRET. You can then call this API in your extension. Directly using the admin API in your extension could compromise security, so it's important to keep these APIs distinct and secure. you can Host your server for API.