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

# 채팅 채널

> 텔레그램, Slack, 카카오톡, iMessage에서 에이전트와 대화합니다.

```bash theme={null}
archetype channels add telegram    # BotFather 토큰
archetype channels add slack       # 봇 토큰과 앱 토큰
archetype channels add kakaotalk   # 봇으로 쓸 카카오톡 계정
archetype channels add imessage    # Sendblue를 통한 iMessage
archetype channels pair            # 6자리 코드: 내 계정으로 봇에게 보내면 연결
archetype daemon restart           # 바뀐 설정 반영
```

토큰은 화면에 보이지 않게 입력받아 서비스에서 확인한 뒤 `~/.config/archetype/env`에 둡니다. 짝지은 사람만 에이전트와 대화할 수 있고, 코드는 10분 동안 한 번만 쓸 수 있습니다.

채팅마다 대화가 따로 생기고, 답은 그 채팅으로 갑니다. 채널의 대화는 그 채널의 모드(`read-only`, `ask`, `yolo`)로 일하고, 백그라운드 서비스의 모드보다 넓어지지 않습니다. 새로 추가한 채널은 `ask`로 시작하고, 승인은 그 채팅에서 묻습니다.


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