App extensions
An app extension enables you to add your app's functionality to Shopify user interfaces. This guide introduces app extensions and how they work.
How it works
Anchor link to section titled "How it works"An app extension surfaces the functionality of your app where and when users need it most. App extensions are useful for apps that require quick, frequent actions from users.
For example, your app’s actions can appear as dropdown items in Shopify admin for orders, products, customers, and other resources. You can produce interfaces that easily mimic the Shopify look-and-feel, and make your app seamlessly appear in Shopify Point of Sale (POS).
Without an app extension
Anchor link to section titled "Without an app extension"Without an app extension, users interact directly with your app. Your app relays information to Shopify that gets surfaced back to the users through your app:
![An example of an app interacting with a users without an app extension](http://www.theturtleeffect.com/cdn/shopifycloud/shopify_dev/assets/api/app-extensions-overview-without-db8cabad77ca90548bc152a8f7de0c2d905e56f3ba3164cf66fd9643bdaceda9.png)
With an app extension
Anchor link to section titled "With an app extension"With an app extension, users interact with Shopify. Shopify relays information to your app that gets surfaced back to the users through your app extension in Shopify:
![An example of an app interacting with a user with an app extension](http://www.theturtleeffect.com/cdn/shopifycloud/shopify_dev/assets/api/app-extensions-overview-with-3a0c9289374dc3c9f4d7f2db8592ffe2c575410263a7722ed189f97d7ed5868b.png)
Managing app extensions
Anchor link to section titled "Managing app extensions"Some app extensions arebuilt and managedusing thePartner Dashboard, while others are built and managed using a combination ofShopify CLIand thePartner Dashboard.
使用Shopify CLI需要构建应用程序扩展deployed to the Partner Dashboard so they can be used as a part of your app. You might also need to deploy some types of app extensions before you can test them.
Reviews and approvals
Anchor link to section titled "Reviews and approvals"Some app extensions need to bereviewed and approvedbefore they are made available in Shopify. Other app extensions are made available as soon you save them.
If an app extension needs to be reviewed, then theSubmit for reviewbutton will display instead ofSaveorCreatewhen you create the app extension.
Versioning and deployment
Anchor link to section titled "Versioning and deployment"Some app extensions areversioned, which allows control over when an extension is published, and a way to roll back changes if issues occur. Other app extensions are available immediately after they're deployed.
After you've tested a new version of your extension and are ready to release it to users, you can publish it. Publishing an app extension version replaces the current live version served to shops that have your app installed. If an app extension supports versioning, then you can preview a draft of the extension and create a version when you publish it.
If you need to revert changes to your extension, then you can publish a previous version. As a final course of action, you can also unpublish your extension, which makes the extension unavailable for users.
Developer tools and resources
Anchor link to section titled "Developer tools and resources"Next steps
Anchor link to section titled "Next steps"- Get started with app extensionsby configuring admin links, bulk action links, and navigation links for your app.
- Consult thelist of app extensionsto determine which app extensions are versioned, which app extensions require reviews and approvals, where you manage the app extensions in Shopify, and more.