Generating apps with Sidekick

You can use Sidekick to generate apps in your Shopify admin to help you manage your store. Describe your idea, and Sidekick builds and refines the app based on your prompts. After you install a generated app, you can review its permissions and uninstall it as you would for any other app.

Review the following examples of apps that Sidekick could help you create:

  • An app that can recommend which products you need to reorder based on your sales velocity.
  • An app that generates discounted checkout links and QR codes for selected products.
  • An app that searches for customers and creates custom discounts.
  • An app that creates a task tracker for your team.

Considerations for creating an app

Before using Sidekick to create an app, review the following considerations:

  • Generated apps can change customer-facing data in your store. Test the app thoroughly before installing it.
  • Generated apps are shared at the store level. To generate or edit apps, staff members need the App development > Develop permission.
  • After your initial prompt, Sidekick creates a plan and generates the app. For complex apps, Sidekick might build the app in stages.

Limitations of Sidekick apps

Review the following limitations of using Sidekick to generate apps in your Shopify admin:

Usage limits for generating apps

Limits apply to how much you can generate with Sidekick. These limits depend on your Shopify plan and apply to your whole store, so usage is shared by everyone who works in it.

Review the following details about usage limits:

  • There are two limits: an hourly limit and a weekly limit. You can generate and refine apps when both limits have room.
  • Usage is measured by the amount of work that Sidekick does, not by the number of apps that you create. A more complex app uses more of your limit, and each round of refinements adds to your usage.
  • Both limits work on a rolling basis, so each one frees up based on your recent activity rather than at a set time of day or on a calendar date. Activity from more than an hour ago stops counting toward your hourly limit, and activity from more than 7 days ago stops counting toward your weekly limit.
  • Your current usage is displayed with the Generate an app option in the Sidekick chat window. A message is displayed as you approach either limit.
  • If you reach either limit, then you can't start another generation or refinement until enough usage frees up.
  • Your limits are checked when a task starts, so a generation or refinement that's already running finishes even if you reach a limit partway through.

Generate an app with Sidekick

To begin generating an app, start a conversation with Sidekick and describe the app that you want to create.

Steps:

  1. From your Shopify admin, go to Sidekick, or click the Sidekick field on the page that you're working on.

  2. Start app generation using one of the following methods:

    • Click the Plus icon in the Sidekick chat window and select Generate an app.
    • Enter @app in the chat window and select Generate an app.
    • Enter a prompt in the chat window asking Sidekick to generate an app.
  3. If you're prompted to turn on Generate app mode, then select Yes, turn on Generate app mode.

  4. Enter your prompt to describe the app that you want Sidekick to generate.

  5. Review and refine the generated app in the app editor.

  6. To install the app in your admin, click Install in the chat window.

Using the app editor

After Sidekick generates your app, the app editor opens beside the chat window. You can use the editor to review, refine, and test your app:

  • Refine app with Sidekick: Describe changes in the chat window, and Sidekick updates the code.
  • View and edit code: Switch between the code editor and app preview to read and edit the app code.
  • Target a specific section: Click the Target icon in the app editor to select a part of the app for Sidekick to edit.
  • Preview across screen sizes: Switch between Desktop or Mobile view to preview your app layout at different sizes.
  • Manage versions: Sidekick creates a new version each time it updates the app. You can choose between versions in the app editor and restore an earlier version if needed.

Editing an existing app with Sidekick

You can review apps that you've previously generated with Sidekick. If you've already installed the app, then you can find it in the Apps page in your Shopify admin. If you're still working on an app with Sidekick, then you can return to the same conversation and continue editing the app.

Edit an installed app

  1. From your Shopify admin, go to Apps and select the app that you want to edit.
  2. Click the Horizontal menu icon and select Edit with Sidekick.
  3. Make changes to the app using the app editor.
  4. Click Install to install the latest version of the app.

Edit an in-progress app

  1. From your Shopify admin, click Sidekick conversations, or go to Sidekick and select a previous conversation.

  2. Click the Apps icon to filter previous conversations.

  3. Click the relevant conversation to view the conversation history.

  4. Click Preview to open the app in the app editor.

  5. Make changes to the app using the app editor.

  6. Click Install to install the latest version of the app.