# Handle commands: connect

URL: /code/cli/handle/verbs · Id: `page:code/cli/handle/verbs`

> The Handle Verbs connect as CLI commands, with inputs, result, refusals and an example.

Reference for [Handle](/business/nouns/handle), one group of [Handle commands](/code/cli/handle).

### Handle.connect
Connect binds a Handle to the Integration credential it publishes through, once the platform confirms the account. [Verb page](/business/nouns/handle/connect?interface=cli).

```text
npx startup-builder do Handle.connect --json '<input>' [--try | --send | --do]
```

Emits [`Handle.connected`](/business/events/Handle.connected).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `handle` | [Handle](/business/nouns/handle) | Yes | The Handle. |
| `integration` | [Integration](/business/nouns/integration) | Yes | The Integration credential. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `handle` | [Handle](/business/nouns/handle) | Yes | The connected Handle. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
npx startup-builder do Handle.connect --json '{"handle":"handle_FcnNwYQujc","integration":"integration_alVwjQcmRy"}'
```