---
title: Preview Shopify Theme
published: true
index: 45
---

# Preview Shopify Theme

Preview an existing theme with real store data through Shopify development by default. Local simulation remains available when explicitly requested.

| Context | What to provide |
| --- | --- |
| Required context | Theme source, revision/changes and, for Shopify development, the exact store and upload authorization. |
| Optional context | Routes, viewports, existing preview identity/ownership, or explicitly requested fictional-data simulation. |

**Execution requirements:** Commands, a persistent process and protected browser access; Shopify mode also needs authenticated CLI and upload authorization. Setup runs outside Glue's read-only reviews, which consume prepared URLs.

## How to use

1. Invoke `$preview-shopify-theme` to verify or prepare the target, start it through the host, and check browser access.
2. Use the returned URL and evidence identity for review. Keep the preview running for an interactive handoff, then request cleanup when finished.

## Examples

```text
Use $preview-shopify-theme to run this theme locally with fictional sample data and no Shopify credentials. Keep the verified preview running for review.
```

```text
Use $preview-shopify-theme to prepare a Shopify development preview of this theme for example.myshopify.com. Verify the proposed upload and destination against my authorization, preserve unrelated previews, and return the verified links.
```
