> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myworklayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apps & integrations

> Connect third-party apps, custom remote MCP servers, and internal REST APIs so your factory's Workers can take real action with per-tool approval guardrails.

A factory is only as capable as the tools it can reach. Connecting apps gives your factory—and every [Worker](https://docs.myworklayer.com/workers.md) it spawns—authenticated access to the systems your team already uses, from GitHub and PostHog to Stripe, Slack, and your own internal APIs.

Every connected app is scoped to the factory. Workers act through the factory's connected accounts and obey its per-tool permission policies, keeping credentials out of your application code and off end-user devices.

## Ways to connect tools

Worklayer supports four integration models inside a factory:

> [card] Built-in apps
>
> One-click OAuth and API-key connections for dozens of engineering, support, productivity, billing, and analytics tools—including native integrations and hosted MCP servers.

> [card] Custom remote MCP servers
>
> Connect any remote MCP server over Streamable HTTP (with OAuth, API keys, or custom headers) to expose internal tools, coding agents, or local machine runtimes.

> [card] Custom REST APIs (OpenAPI)
>
> Upload an OpenAPI specification (file or URL) in the web app to turn your own backend or third-party REST API into callable factory tools with OAuth or API-key auth.

> [card] Pay-as-you-go tools
>
> Run supported web search, scraping, document parsing, and media tools using Worklayer credits—no separate vendor accounts or API keys required.

## Supported built-in apps

Below are examples of the built-in apps available to connect in the Worklayer web app:

| Category | Examples |
| - | - |
| **Engineering & coding** | GitHub, Linear, Sentry, PostHog, Cursor Cloud Agents, Vercel, Cloudflare, Supabase, PlanetScale, PostgreSQL, PagerDuty, incident.io, Rootly |
| **Communication & support** | Slack, Gmail, Outlook, Discord, Intercom, Pylon, Luma, Calendly |
| **Docs & knowledge** | Notion, Google Drive, Google Docs, Google Sheets, Google Slides, Google Calendar, Airtable, Figma, Canva, Miro, Excalidraw, Granola, Fathom, Read AI, Sanity |
| **Commerce, billing & CRM** | Stripe, Dodo Payments, Shopify, QuickBooks, HubSpot, Attio, Apollo, Typeform, Monday.com, Asana |
| **Web, search & AI utilities** | Exa, Firecrawl, Tavily, Reducto, LlamaParse, Apify, Replicate, Gamma |

Don't see a tool in the catalog? Add it as a **custom remote MCP server** or import its **OpenAPI specification** in the web app.

## Connecting coding agents and dev environments

Workers run code inside an isolated tool-orchestration sandbox—not a full Linux dev container—so they do not clone git repositories or execute local shell builds directly. See [What Workers can and cannot do](https://docs.myworklayer.com/workers.md#what-workers-can-and-cannot-do).

To build a software factory that goes past drafting issues and actually writes code, opens PRs, and tracks CI to merge:

1. **Connect GitHub** so Workers can read issues, inspect PR diffs, check statuses, leave review comments, and update or merge pull requests under your approval rules.
2. **Connect a coding agent** using one of these patterns:
   * **Cursor Cloud Agents** (built-in app): Workers launch cloud agent runs on a repository, send follow-up instructions, check run status, and download artifacts.
   * **GitHub-triggered coding agents**: Workers write a structured issue or PR comment (for example, tagging `@codex`) and monitor the resulting PR and checks.
   * **Custom remote MCP server**: Connect an upstream MCP server that bridges to your build environment, sandbox, or coding runtime so Workers can call it directly.
3. **Add observability apps** such as **Sentry**, **PostHog**, or **PostgreSQL** so Workers can diagnose root causes and verify fixes after deployment.

## Team accounts vs. Worklayer credits

When you connect an app to a factory, you choose how it authenticates:

* **Factory account (OAuth or API key):** One shared account owned by the factory—for example, your company's GitHub, Stripe, or support Gmail account. Every Worker in that factory uses this account rather than individual team members' personal credentials.
* **Worklayer credits:** Available on select apps (such as web search, scraping, and document parsing) so the factory can call those tools without managing separate API keys.

Only the factory **Owner** and members with **Full access** can connect, reconnect, or remove accounts. See [Who can use a factory](https://docs.myworklayer.com/factory.md#who-can-use-a-factory).

## Tool permission policies and Reviews

Each app tool in a factory has a permission policy that controls how autonomously a Worker can call it:

| Policy | Behavior |
| - | - |
| **Allow** | The Worker executes the tool immediately without pausing. Best for read-only lookups, diagnostics, and internal status updates. |
| **Ask** | The Worker pauses and opens a [Review](https://docs.myworklayer.com/review.md) before executing the tool. Your custom interface (or the web app / Slack) surfaces the approval request, and the Worker resumes the moment a person approves. |
| **Auto** | Worklayer evaluates the risk of the call automatically—allowing low-risk actions and escalating risky ones to a human Review. |
| **Disable** | The tool is unavailable to the factory. |

Permission policies are how you design safe human-in-the-loop workflows. For example, in a software or support factory, you can set reads and investigations to **Allow** while setting `stripe_create_refund`, PR merges, or external customer emails to **Ask**.

## Where apps are configured

> [!NOTE]
>
> Apps, custom MCP servers, OpenAPI integrations, and tool permission policies are configured in the **Worklayer web app**—not through `/v1` Factory API endpoints.

If a Worker attempts to use an app that isn't connected yet (or whose OAuth sign-in has expired), it pauses and creates a `connect_app` [Review](https://docs.myworklayer.com/review.md). Your custom interface can fetch the authorization link via `GET /v1/rooms/{roomId}/reviews/{requestId}/connect-app` and direct an authorized teammate to connect the app without leaving your workflow.

> [card] [Workers](https://docs.myworklayer.com/workers.md#what-workers-can-and-cannot-do)
>
> See what Workers can and cannot do with connected apps, sandboxed scripts, and files.

> [card] [Review](https://docs.myworklayer.com/review.md)
>
> Handle approval, question, and connect-app Reviews directly in your custom UI.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.