| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- # =============================================================================
- # Supabase Edge Functions Environment Configuration
- # =============================================================================
- # -----------------------------------------------------------------------------
- # Supabase Configuration
- # -----------------------------------------------------------------------------
- # Get these from: Supabase Dashboard → Settings → API
- SUPABASE_URL=https://api.shopcall.ai
- SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp0a2xxb2RjZGplcXBzdmhscHVkIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDk3MDkzODMsImV4cCI6MjA2NTI4NTM4M30.Z4D2Ly8_VZc7SoAwDPncBo2XZQbNcps9ATu7u-tWgqY
- SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp0a2xxb2RjZGplcXBzdmhscHVkIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc0OTcwOTM4MywiZXhwIjoyMDY1Mjg1MzgzfQ.pcZlXh-oPk-2vYdFoMJeQ4af4thDTYelYxMYzWtyfy8
- # -----------------------------------------------------------------------------
- # Frontend Configuration
- # -----------------------------------------------------------------------------
- # URL where your frontend is hosted (used for OAuth redirects)
- # For production: https://yourdomain.com
- # For local dev: http://localhost:8080
- FRONTEND_URL=https://shopcall.ai
- # -----------------------------------------------------------------------------
- # E-commerce Platform OAuth Credentials
- # -----------------------------------------------------------------------------
- # Shopify App Credentials
- # Get these from: Shopify Partner Dashboard → Apps → Your App
- SHOPIFY_API_KEY=your_shopify_api_key
- SHOPIFY_API_SECRET=your_shopify_api_secret
- # ShopRenter App Credentials
- # Get these from: ShopRenter App Store → Your App
- SHOPRENTER_CLIENT_ID=2d62a20d40620f95573dec6a
- SHOPRENTER_CLIENT_SECRET=9284a57d5b9a439037c4a77b
- # WooCommerce OAuth (configured per-store, no global credentials needed)
- # -----------------------------------------------------------------------------
- # Internal Security
- # -----------------------------------------------------------------------------
- # Secret key for scheduled sync authentication (generate with: openssl rand -hex 32)
- INTERNAL_SYNC_SECRET=your_random_secure_secret_here
- # -----------------------------------------------------------------------------
- # Email Configuration
- # -----------------------------------------------------------------------------
- # Resend API Key for sending emails
- # Get this from: https://resend.com/api-keys
- RESEND_API_KEY=your_resend_api_key_here
- # -----------------------------------------------------------------------------
- # Webshop Scraper Configuration
- # -----------------------------------------------------------------------------
- # Default scraper API configuration (can be overridden per store)
- # For local development: http://127.0.0.1:3000
- # For production: https://your-scraper-api.com
- DEFAULT_SCRAPER_API_URL=https://crawler-1.shop.static.shopcall.ai
- DEFAULT_SCRAPER_API_SECRET=Uq73P0WPf659tkZGX0P2
- # -----------------------------------------------------------------------------
- # AI Analytics Configuration
- # -----------------------------------------------------------------------------
- # OpenRouter API Key for LLM-powered call log analytics
- # Get this from: https://openrouter.ai/keys
- OPENROUTER_API_KEY=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
- # Internal API key for analytics endpoint authentication
- # Generate with: openssl rand -hex 32
- # This key authenticates requests to the call-log-analytics edge function
- ANALYTICS_INTERNAL_API_KEY=int_shopcall_cOftLHMgH-o6JG5z6qfPI9xqswUq2ClBysMiCqKAoK3KkU7O
- # -----------------------------------------------------------------------------
- # Database Configuration (for pg_cron scheduled sync)
- # -----------------------------------------------------------------------------
- # These should also be set in Supabase Dashboard:
- # Settings → Database → Custom Postgres Configuration
- #
- # app.internal_sync_secret = 'same_as_INTERNAL_SYNC_SECRET_above'
- # app.supabase_url = 'https://YOUR_PROJECT.supabase.co'
|