Introduction
What Bound is, and what it makes easier
Bound is a Shopify app that lets you write, publish, and run custom Cloudflare Workers directly from your Shopify admin — no hosting, servers, or infrastructure to manage.
The use case
Most stores eventually need a small piece of custom server-side logic: an endpoint that answers a request from the storefront, an automation step that Shopify Flow can’t express, or an integration that calls a third-party API with a key you don’t want in the browser. Until now that meant standing up and operating your own backend — hosting, deploys, credentials, monitoring — for what is often twenty lines of code.
Bound removes that overhead. You write a JavaScript fetch handler in an embedded code editor, hit save, and it’s live: reachable on your own store’s domain, callable from Shopify Flow, with authenticated access to Shopify’s Admin and Storefront APIs built in. Each shop gets its own isolated environment, provisioned automatically when the app is installed.
What it makes easier
- Custom storefront endpoints — serve dynamic responses (JSON, HTML, anything) from
https://<your-shop>/apps/bound/<worker>via the app proxy. No separate domain, TLS, or hosting. - Shopify API access without credential wrangling — workers call the Admin and Storefront GraphQL APIs through pre-authenticated clients. You never mint, store, or rotate tokens in your code.
- Automation beyond Flow’s built-in actions — the “Run worker” Flow action runs your worker with workflow data (order, customer, product) in the request body, and hands the worker’s response back to later workflow steps.
- Third-party integrations — store API keys as write-only secrets and opt individual workers into them. Keys never touch the browser and can’t be read back after saving.
- Iteration without fear — every save keeps a full version history with authors; preview any past version in place and restore it in one click.
Getting started
Install Bound from the Shopify App Store, then open it from Apps in your Shopify admin. It’s an embedded app — everything happens inside the admin, with no separate dashboard to sign into.
On first install, Bound provisions your store’s environment automatically:
- An app proxy, so published workers are reachable from your storefront domain.
- A Storefront API access token, stored as a secret, so workers can call the Storefront API.
Nothing else is required — you can create your first worker straight away. Bound requests a deliberately limited, customer-data-free set of Shopify scopes (the full list, and what it lets workers query, is under Shopify Scopes) and stores no customer data.