Integrations
| Integration | Used for | Environment variables |
|---|---|---|
| Shopify Admin and Storefront APIs | Products, variants, inventory and product filters | SHOPIFY_STORE_DOMAIN, SHOPIFY_CLIENT_ID, SHOPIFY_CLIENT_SECRET, SHOPIFY_ADMIN_API_VERSION |
| Airtable | Color taxonomy, color families and expected size ranges | AIRTABLE_API_KEY, AIRTABLE_BASE_ID |
| BigQuery | Purchase order dates and production inventory for back-in-stock dates | BIGQUERY_PROJECT_ID |
| Cloud Storage | Saved copies of the taxonomy caches | DATA_BUCKET_NAME |
| Storefront | Product URLs in responses | STOREFRONT_BASE_URL |
| Birdy Grey CDN | Swatch image URLs | BG_CDN_BASE_URL |
| API Gateway authorizer | Checks each caller's API key | BG_ENVIRONMENT, GATEWAY_MATCHER, APPLICATION_NAME |
BigQuery and Cloud Storage authenticate as the service's own Google account, so they need no keys. Locally they use your gcloud login, and Cloud Storage is skipped when DATA_BUCKET_NAME is empty.
Per environmentβ
| Production | Staging | |
|---|---|---|
| Shopify store | Production | Staging |
| Storefront links | www.birdygrey.com | www.birdystaging.com |
| CDN | cdn.birdygrey.com | cdn.birdystaging.com |
| BigQuery data | Production | Production |
Variables are listed in .env.schema.