Docs

How things work

Short, honest runbooks for the bits that touch the outside world: POS webhooks, OAuth consent, email dispatch, bot pairing.

Connect Square in 5 minutes

Native OAuth setup. Register a Square developer app, paste three credentials into Railway, click Connect Square. Every sale then auto-depletes inventory in real time.

Connect Clover in 5 minutes

Mirror of the Square runbook for Clover. Native OAuth + webhook-verified sale push. One app registered in Clover's dev dashboard works for every café you onboard.

Connect Shopify POS in 5 minutes

Per-shop OAuth via Shopify Partners. One app works for every café running Shopify POS that installs StockPilot from their admin → catalog + sales auto-sync.

Connect any other POS (Zapier bridge)

For Toast, Lightspeed, and anything else Zapier supports. 2-minute Zapier setup wires sales to StockPilot's generic webhook.

Pair the Telegram bot in 5 minutes

Register a bot with @BotFather, paste one token into Railway, click Connect Telegram. The webhook self-installs and managers can pair their phones in one tap.

Connect Twilio (WhatsApp) in 5 minutes

Activate Twilio's WhatsApp sandbox, paste three credentials into Railway. Café managers pair their phone in one tap and morning briefs land on WhatsApp.

Send email via Resend in 3 minutes

One API key for outbound POs and morning briefs. Add an inbound reply domain when you want supplier replies auto-attached and classified.

Connect Gmail (Google OAuth) in 7 minutes

Set up Google Cloud OAuth so café managers send POs from their own Gmail address. Narrow gmail.send scope keeps verification easy.

Wire a Stripe ACP supplier in 5 minutes

Skip the email round-trip for suppliers on Stripe's Agentic Commerce network (Etsy roasters, Shopify storefronts). Bot drafts → you approve → bot calls the supplier's checkout endpoint directly. Coverage is narrow today; most foodservice distributors aren't on the network yet.