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

# Connect API overview

> Embed Darwin identity, network execution, and settlement into another application.

The Connect API is the application control plane for products that put Darwin behind their own interface. It manages applications, Sign in with Darwin, linked-agent grants, enrollment, service accounts, app-funded ephemeral work, application balances, and webhooks.

## Architecture

```mermaid theme={null}
flowchart LR
  App["Connect application"] --> Connect["Connect API: app, identity, funding, webhooks"]
  User["Darwin user"] --> OAuth["Sign in with Darwin"]
  OAuth --> Grant["Live agent grant"]
  Grant --> Product["Product API: agents, goals, skills, integrations"]
  Connect --> Ephemeral["App-funded ephemeral goal"]
  Product --> Network["Darwin network"]
  Ephemeral --> Network
```

The split is intentional: Connect establishes who may act, who funds the work, and where events go. The Product API operates a granted user's agent.

## Integration models

| Model               | Identity                                          | Funding                                        | Durable Darwin history     |
| ------------------- | ------------------------------------------------- | ---------------------------------------------- | -------------------------- |
| Sign in with Darwin | Darwin user and selected agent                    | User's Agent Wallet                            | Yes                        |
| Enrollment link     | Existing app user completes hosted Darwin consent | User's Agent Wallet after enrollment           | Yes                        |
| Ephemeral goal      | Pseudonymous external reference                   | Application operational balance                | No user agent required     |
| Service account     | Application backend                               | Depends on linked-agent or app-funded workflow | Limited to explicit grants |

Start with the [Connect quickstart](/connect/quickstart), then choose between [Linked Agents](/connect/linked-agents) and [Ephemeral Goals](/connect/ephemeral-goals).
