Getting Started
Initialize your distributed infrastructure. This blueprint guides you through Shopify synchronization, secure authentication, and metaobject modeling.
01 / DEPLOYMENT
Install Shopify App
check_circle STABLE
1
Navigate to Marketplace
Access the Shopify App Store and search for 'SaveLayer'.
2
Grant Permissions
Approve read/write access for metaobjects and webhooks.
Instance Health
API Status 99.9%
Webhook Load MINIMAL
02 / PROTOCOL
Initial Configuration
Establish your secure environment. Copy the example variable file and fill in your Shopify app credentials from the Partners dashboard.
Authentication Header
Authorization: Bearer [SL_PROV_TOKEN]
.env
code
SHOPIFY_API_KEY=your_api_key
SHOPIFY_API_SECRET=your_api_secret
SHOPIFY_APP_HANDLE=your_app_handle
DIRECT_API_JWT_SECRET=long_random_string
03 / SCHEMATIC
First Metaobject
A customer's saves are stored in a single Shopify save_list metaobject that holds every saved entity inline as per-entity-type JSON buckets. The schema below reflects the core fields on a save_list record.
Schema Preview: save_list
| Field | Type | Validator |
|---|---|---|
| customer_id | single_line_text | non_null |
| product | json | entity bucket |
| product_ext_1 | json | overflow |