Installation
Install the SDK
npm install @simplersuite/wishlist-react# orpnpm add @simplersuite/wishlist-react# oryarn add @simplersuite/wishlist-reactGet your credentials
1. Storefront Key (for guest access)
- Open Settings in the SimplerSuite Wishlist dashboard
- Scroll to Headless Access
- Click Create Key and copy the
sfk_...key ID
Storefront keys are public — safe to embed in client-side code. They only grant guest-level access.
2. API Key + Secret (for customer auth)
- Go to Settings → API Keys
- Create a new API key and save the secret
- Use these server-side to exchange for customer JWTs
Never expose your API secret in client-side code.
Environment variables
Add to your .env:
# Headless API URL (from SST deploy output)PUBLIC_WISHLIST_API=https://xxx.execute-api.us-east-1.amazonaws.com
# Public storefront key (safe for client-side)PUBLIC_WISHLIST_STOREFRONT_KEY=sfk_your_key_here
# Server-side only (for customer token exchange)WISHLIST_API_KEY=key_your_key_hereWISHLIST_API_SECRET=sk_your_secret_here