This guide will walk you through creating a demo store on Layers. The process has two main parts:
  1. Creating a custom Shopify app and sharing credentials with Layers support.
  2. Exporting and importing seed search data for your store.

Part 1: Create a Custom App on Shopify

To connect your demo store to Layers, you’ll need to create a Custom App on Shopify.
  1. Navigate to Settings > Apps and Sales Channels > Develop Apps in your Shopify admin. Placeholder for screenshot of navigating to Develop
Apps
  2. Create a new Custom App and set the following access scopes:
    • read_products
    • read_product_listings
    • read_inventory
    Placeholder for screenshot of setting access
scopes
  3. Copy and send the following to Layers Support:
    • Your shop domain (ending in .myshopify.com)
    • The secret access key
    💡 In production, this app would also be connected to AWS EventBridge for real-time event streaming.

Part 2: (Optional) Create a Crawler Signature

To expedite the sync of product media, you can create a crawler signature.
  1. Copy and send the following to Layers Support:
    • Your signature input value
    • Your signature value
    Placeholder for screenshot of crawler signature
settings

Part 3: Export Search Data

Layers requires sample search data to seed your demo store.
  1. Run the following ShopifyQL query to export the top searches from the past 60 days:
    FROM searches
      SHOW searches
      GROUP BY search_query, day WITH CURRENCY 'USD', TOTALS
      TIMESERIES day
      SINCE startOfDay(-60d) UNTIL today
      ORDER BY searches DESC
      LIMIT 1000
    VISUALIZE searches TYPE horizontal_bar
    
  2. Export the results as JSONL. Placeholder for screenshot of export as JSONL

Next Steps

Once you’ve completed the steps above:
  • Send the credentials and exported files to Layers Support.
  • Our team will finish setting up your demo store and notify you when it’s ready.