Integrations
Integrations
Connect REST and OData APIs, webhooks and databases once, with encrypted credentials, and reuse their operations everywhere.
On this page
An integration is a connection to one external system: its type, base URL or database settings, authentication and shared headers. Its operations are saved as references that workflows, agents, reports and MCP clients call by name — nobody pastes URLs or tokens into individual workflows.

Types#
| Type | Use it for | Notes |
|---|---|---|
rest_api | Any HTTP/JSON API | Methods GET, POST, PUT, PATCH, DELETE; path, query, header and body templates |
odata | OData v2/v4 services | Service root plus entity paths and standard query options |
webhook | Outbound callbacks | Send governed notifications to another system |
database | Postgres, SQL Server, MySQL, Oracle, MongoDB, Snowflake | Oracle, MongoDB and Snowflake drivers are optional installs when self-hosting |
Authentication#
auth_type is none, api_key (header or query key), bearer, basic, oauth2 (authorization code with PKCE and automatic token refresh; see OAuth connections) or windows (NTLMv2 or Kerberos with a service account, for on-premises services such as SharePoint Server; see Windows authentication). Credentials are encrypted at rest with ENCRYPTION_KEY and are write-only: the API and exports return __SECRET__ in their place, and sending __SECRET__ back on an update keeps the stored value.
Creating one#
In the app: Integrations → New integration, or start from a connector or an OpenAPI document. From a terminal:
name: Northwind ERP
type: rest_api
config:
base_url: https://erp.example.com/api
auth_type: bearer
auth_config:
token: ${env:ERP_TOKEN}usertasks integrations create -f erp.yaml
usertasks integrations test <id>Safety#
- Egress guard — outbound calls to private, loopback and cloud-metadata addresses are blocked. A self-hosted server opens the on-premises systems it needs with
EGRESS_PRIVATE_ALLOW(hostnames,*.domainwildcards, CIDRs) and allows plainhttp://for specific hosts withEGRESS_HTTP_ALLOW; metadata endpoints stay blocked. See Connecting to on-premises systems. - Call logs — every call records method, host, path, status and duration with headers redacted, and emits an
integration.callevent (warn on 4xx, error on 5xx) for log export. - Permissions —
integrations.view,integrations.create,integrations.edit,integrations.test,integrations.deleteandintegrations.manage_referencesare separate, so you can let designers use references without seeing or changing connections.