- Configure your factory in the web app — connect the apps your factory needs, set approval policies, and generate an API key.
- Design and mock the interface first — describe the experience you want (not Rooms or plumbing) and have your coding agent build the UI against static mock data.
- Wire it to the Factory API — hand these docs to your coding agent to connect Rooms, Events, Worker streams, Reviews, and signed Subscriptions.
Set up your factory and API key
Factory setup—creating the factory, connecting apps, setting tool policies, and issuing API keys—happens in the Worklayer web app. You must be the factory’s owner to generate an API key.1
Connect apps and tool policies
In the Worklayer web app, create or open your factory and connect the apps your workflow needs (for example, GitHub, Sentry, PostHog, and Cursor Cloud Agents for an issue-resolution factory—or Stripe and Slack for a support factory).Set read-only tools to Allow and sensitive actions (such as merging PRs, issuing refunds, or messaging customers) to Ask so they surface as Reviews in your interface.
2
Generate a factory API key
Go to Develop → API, select New key, give it a name, and select Create key.Copy the key right away—Worklayer shows it only once. See Authentication for security and scoping details.
Build your integration
Choose Prompt your coding agent to build a custom UI or backend with Claude Code, Cursor, or Codex, or switch to Manual walkthrough to explore each endpoint directly with cURL.- Prompt your coding agent
- Manual walkthrough
Copy one of the prompts below into Claude Code, Cursor, or Codex. Both follow the Factory API architecture: keep
WORKLAYER_API_KEY server-side only, isolate one Room per work item, handle Reviews inline, and verify signed webhooks.Option A: Build a custom UI (Auto Issue Resolve dashboard)
Option B: Build a backend integration (Support ticket flow)
Next steps
Connect apps & tool policies
See supported built-in apps, custom remote MCP servers, OpenAPI specs, and approval rules.
What Workers can and cannot do
Understand sandboxed scripts, connected coding agents, files, and execution boundaries.