# Sign-ins

> The accounts a chart connects: each one is an action from a closed list, proven by a read-only check, and its secret goes only to the program that needs it.

A sign-in is an account the chart connects. Each one names the action that connects it and the check that proves it.

The accounts of a mind or a channel (Claude, ChatGPT, Telegram) are not written in a chart: they come with the provider the owner binds to a [need](https://docs.altasystem.ai/charts/concepts/needs), and the game adds their steps only when that provider is not connected yet. `signins` is for the accounts that are your chart's own. Here, a chart that names its providers itself (the pinned form):

```json [chart.json: signins]
{
  "claude": {
    "use": "signin.cli",
    "args": {
      "tool": "claude",
      "flow": "link-code",
      "hosts": "claude.ai"
    },
    "proof": {
      "type": "signin",
      "tool": "claude"
    },
    "why": {
      "en": "The agent thinks with your Claude subscription.",
      "fr": "L'agent pense avec ton abonnement Claude."
    },
    "when": {
      "value": "mind",
      "is": [
        "claude"
      ]
    }
  },
  "telegram": {
    "use": "channel.connect",
    "args": {
      "channel": "telegram"
    },
    "proof": {
      "type": "channel",
      "id": "telegram"
    },
    "why": {
      "en": "The agent writes to you on Telegram.",
      "fr": "L'agent t'écrit sur Telegram."
    }
  },
  "telegram-pairing": {
    "use": "channel.pair-approve",
    "args": {
      "channel": "telegram"
    },
    "proof": {
      "type": "channel",
      "id": "telegram",
      "state": "paired"
    },
    "why": {
      "en": "Only your phone may talk to the agent.",
      "fr": "Seul ton téléphone peut parler à l'agent."
    },
    "requires": [
      "signin:telegram"
    ]
  }
}
```

## What each field does

| Field | Meaning |
|---|---|
| `use` | The action that connects the account, from the [closed list](https://docs.altasystem.ai/reference/standards/executors): `signin.cli`, `channel.connect`, `channel.pair-approve`… |
| `args` | Its arguments: the tool, the flow (`link-code`, a device code, a token), the hosts it may open |
| `proof` | The check that shows the account is connected |
| `why` | One sentence the owner reads, in English and French |
| `when` | Asked only for some answers to a value |
| `requires` | Another sign-in that comes first (pairing comes after the channel) |

## Where the secret goes

A token or a code is asked at its own step, never as a value. It goes from the page to the owner's own server, then straight to the program (its standard input or its own secret store). It is never written in the release, a log, a URL or the chart, and never shown again.

The link flows open in the owner's own browser and work on a server with no screen: the server shows the link, the owner pastes back the code.

**Next:**

- [Parts](https://docs.altasystem.ai/charts/concepts/parts)
- [Add a sign-in to a quest](https://docs.altasystem.ai/guides/quests/sign-in-step)
