{
 "id": "18.5",
 "title": "Data and making partners",
 "department": "Integrations and ecosystem",
 "department_slug": "integrations-and-ecosystem",
 "direction": null,
 "branded": false,
 "status": "draft",
 "owner": "Param",
 "last_verified": "2026-10-26",
 "holds": "treg, Apify, Sloosh and the image and video makers: status, limits, contacts",
 "urls": {
  "html": "https://handbook.joinsquareup.com/integrations-and-ecosystem/data-and-making-partners",
  "markdown": "https://handbook.joinsquareup.com/integrations-and-ecosystem/data-and-making-partners.md",
  "json": "https://handbook.joinsquareup.com/integrations-and-ecosystem/data-and-making-partners.json"
 },
 "other_directions": [],
 "tldr": {
  "headline": "Four outside partners feed Brew, each capped, none spending without a yes",
  "points": [
   {
    "icon": "link",
    "text": "treg and Apify bring the data; Sloosh and Higgsfield make the finals and studio pictures."
   },
   {
    "icon": "money",
    "text": "Caps everywhere: treg 40 dollars a day, Apify 10 per brand a month."
   },
   {
    "icon": "warn",
    "text": "Higgsfield keys are not in Secret Manager yet, so Studio makes are not live."
   },
   {
    "icon": "lock",
    "text": "Sloosh is off on production by Param's call; finals there use Gemini."
   },
   {
    "icon": "people",
    "text": "No source names a contact person at any of the four."
   }
  ],
  "stat": {
   "value": "40",
   "label": "treg dollar cap a day"
  },
  "decide": "Put the Higgsfield keys in Secret Manager now?",
  "mood": "waiting"
 },
 "sources": [
  "brew origin/main: treg.js:1-17, 45; apify.js:1-4; jam2/higgsfield.js:1-5, 49; jam2/engines.js:7, 60-61; finals.js; sloosh-mcp.js; budget.js:13; server.js:592-593; tools/prod-env.sh:9, 12; deploy.sh:37, 41; docs/production.md:115, 125-126; SCOPE.md:15, 18; DUMMY.md row 8",
  "memory treg-catalog-for-brew, treg-usage-rules, brew-apify-watch, brew-sloosh-finals, brew-higgsfield-wiring, brew-jam-v2, brew-go-live-2026-10-17, no-spend-while-building",
  "handbook content/ai-and-models/image-and-video-makers.md and outside-data-rules.md, read for consistency"
 ],
 "open_questions": [
  "**Who is our contact at each partner?** Proposal: Param names one person per partner and the email they answer, and this page lists them.",
  "**Put the Higgsfield keys in Secret Manager now?** Proposal: yes, on staging only, with the AI_MOCK tests passing first; production after one paid Studio make on a test brand with Param's yes.",
  "**Sloosh on production.** Proposal: keep it off until a design partner asks for a Sloosh final; then sign in on production and turn `SLOOSH_CHECK` on.",
  "**Talk to Higgsfield sales about Enterprise?** Proposal: yes, one call, to ask whether many brands on one account is allowed for the CLI only features.",
  "**Which treg account owns the bill?** Treg runs on Param's own sign in for team squareup. Proposal: move the team's billing to a company email."
 ],
 "parts": {
  "Answer": "Four outside partners feed Brew, treg and Apify for data and Sloosh and Higgsfield for making, each on one account we own, each capped, and none spending without a rule or a person's yes; this page holds the accounts, the state of each, the limits and what is still missing, while the rules for using them live in [Outside data rules](/ai-and-models/outside-data-rules) and [Image and video makers](/ai-and-models/image-and-video-makers).",
  "Today": "### The four partners\n\n| Partner | What for | Account and key | State on 26 Oct | Source |\n|---|---|---|---|---|\n| treg.to | Data only: listening, SERP, keywords, reviews, AI answers, rival ads, shopping | Agent key brew-live, team squareup, `TREG_TOKEN` version 2; version 1 disabled | Live on both sites | [src: brew/treg.js:1-5] [src: memory brew-apify-watch] |\n| Apify | Indian marketplaces, quick commerce, Similarweb, Instagram mentions, Trustpilot backup | Starter plan bought 23 Oct, account originative_crupper, `APIFY_TOKEN` | Live | [src: brew/apify.js:1-4] [src: memory brew-apify-watch] |\n| Sloosh, sloosh.ai | Finals: go-live images and videos behind Make the final, over MCP only | Brew's own workspace, OAuth 2.1 at clerk.app.shopos.ai; Pro plan, 530 credits on 18 Oct | Connected on staging; off on production by Param's call on 25 Oct, finals there use Gemini | [src: memory brew-sloosh-finals] [src: brew/server.js:592-593] [src: brew/tools/prod-env.sh:9] |\n| Higgsfield | Studio pictures and films through its keyed REST API, 84 workflows | `HF_API_KEY_ID` and `HF_API_KEY_SECRET`; added at deploy only if the secret exists | Funded with $100 on 23 Oct; keys not in Secret Manager on 23 Oct; paid safety code on origin/main since 26 Oct | [src: brew/jam2/higgsfield.js:1-5, 49] [src: brew/deploy.sh:37] [src: memory brew-jam-v2] [src: memory brew-higgsfield-wiring] |\n\nDrafts run on our own Vertex keys, Gemini image, Veo and Gemini TTS, never through treg [src: memory treg-usage-rules].\n\n### Limits and caps\n\n| Cap | Value | Source |\n|---|---|---|\n| treg spend a day | `TREG_DAY_CAP_USD` 40 on staging and production, 15 on the demo | [src: brew/tools/prod-env.sh:9] [src: brew/deploy.sh:41] |\n| treg calls a day | 20,000 on the brew-live key | [src: memory brew-apify-watch] |\n| Apify spend per brand a month | `APIFY_BRAND_MONTH_CAP_USD` 10 | [src: brew/tools/prod-env.sh:9] [src: brew/SCOPE.md:15] |\n| Sloosh credits a day, all brands | `DAILY_CREDITS_CAP`, default 300 | [src: brew/budget.js:13] |\n| Sloosh agent limit | 50 credits a day on the workspace | [src: memory brew-sloosh-finals] |\n| Higgsfield | No dollar cap in code; every request is priced first and the caller asks a person | [src: brew/jam2/higgsfield.js:1-5] |\n\n### What each partner cannot do\n\n- treg has no Indian marketplaces, request 1171, no holiday calendar and no video understanding [src: memory treg-catalog-for-brew].\n- Sloosh has no Veo; its quotes refuse sound settings on some video models [src: memory brew-sloosh-finals].\n- Higgsfield's REST API lacks Marketing Studio video modes, the photoshoot and marketplace prompt enhancers, brand kits, audio, upscale, background removal, Nano Banana, Veo, Seedream and GPT Image; those are CLI only on a personal login, and its terms make one CLI login for many brands risky [src: memory brew-higgsfield-wiring].\n\n### Who we talk to\n\nNo source names a contact person at treg, Apify, Sloosh or Higgsfield. Account emails on file: treg on this Mac is signed in on Param's account for team squareup, and hello@ holds a second team, squareup-2, with $1 [src: memory brew-apify-watch]. Sloosh's staging workspace was connected by hello@joinsquareup.com [src: memory brew-sloosh-finals].\n\n### How we find out something broke\n\nThe app's daily alerts cover the treg balance and Sloosh; Sloosh alerts are off on production with `SLOOSH_CHECK=0` [src: brew/docs/production.md:115] [src: brew/server.js:592-593]. Source health for every treg and Apify call is at `/api/admin/sources` [src: memory brew-apify-watch].",
  "Tomorrow": "| Item | Version | Tag |\n|---|---|---|\n| treg first, Apify only for gaps | v1 | Stays |\n| Higgsfield keys in Secret Manager so Studio makes go live | v1 | Changes |\n| Sloosh on production, after a staff sign in at `/api/ops/sloosh/connect` | v1 | Changes, Param's call |\n| Higgsfield Enterprise for the CLI only features | v2 | New, only after talking to Higgsfield sales |\n| fal, HeyGen and ElevenLabs connected for the jobs the router already names | v2 | New |\n| A named contact and a monthly invoice for each partner | v1 | New |\n\nRows that change or add are proposals for Param, not decisions.",
  "How we do it": "1. Before saying treg is empty, check the live balance; never trust old logs [src: memory treg-usage-rules].\n2. Never generate an asset through treg [src: memory treg-usage-rules].\n3. No paid probe while building: test with `AI_MOCK=1`, and ask Param before any paid call [src: memory no-spend-while-building] [src: memory brew-higgsfield-wiring].\n4. Read `data/sloosh-tools.json` before touching a Sloosh call; re-run the probe when Sloosh changes a schema:\n\n```bash\nnode tools/sloosh-probe.mjs\n```\n\n[src: memory brew-sloosh-finals]\n\n5. Refresh the Higgsfield catalog only with the guard that refuses an empty or shrunken one:\n\n```bash\nnode tools/hf-catalog.mjs\n```\n\n[src: memory brew-higgsfield-wiring]\n\n6. Never call the Higgsfield CLI from the server [src: memory brew-higgsfield-wiring].\n7. Never spend Sloosh credits without Param's yes on the quote [src: memory brew-sloosh-finals].",
  "Numbers": "| Metric | Definition | Where measured |\n|---|---|---|\n| treg spend | Dollars a day and a month, by tag | `spend/<month>.json` per brand; treg balance |\n| Apify spend per brand | Dollars a month against the $10 cap | `spend/<month>.json`, tags `apify…` [src: brew/SCOPE.md:15] |\n| Source health | Share of calls ok, empty or error per source | `/api/admin/sources` [src: memory brew-apify-watch] |\n| Sloosh credits used | Credits charged per final | `/api/ops/sloosh` |\n| Higgsfield spend | Dollars per make and per brand | Proposed, from `bd.hfJobs` |",
  "Open": "1. **Who is our contact at each partner?** Proposal: Param names one person per partner and the email they answer, and this page lists them.\n2. **Put the Higgsfield keys in Secret Manager now?** Proposal: yes, on staging only, with the AI_MOCK tests passing first; production after one paid Studio make on a test brand with Param's yes.\n3. **Sloosh on production.** Proposal: keep it off until a design partner asks for a Sloosh final; then sign in on production and turn `SLOOSH_CHECK` on.\n4. **Talk to Higgsfield sales about Enterprise?** Proposal: yes, one call, to ask whether many brands on one account is allowed for the CLI only features.\n5. **Which treg account owns the bill?** Treg runs on Param's own sign in for team squareup. Proposal: move the team's billing to a company email."
 }
}