# WeChat ClawBot

URL: https://swb.one/ko/docs/setup/wechat

SwB에 소유자로 로그인하세요. 다음 프롬프트를 소유자 권한이 있는 에이전트에게 전달하세요.

https://swb.one/prompts/wechat.md

```
Read the setup guide at https://swb.one/docs/setup/wechat.

Help me connect WeChat ClawBot to the SwB server I host. Give me https://swb.one/docs/connect if I need to connect this agent to SwB first.

Use a SwB client with owner access. Call `connect(what="wechat")`. Ask me whether another agent tool already uses this ClawBot. Call `connect` again with my answer in `choose.existing_binding`. If another agent uses this ClawBot, keep that connection. Connect the agent to SwB through its own integration. Continue with the QR code only when I choose to connect ClawBot to SwB.

Give me the link to the QR code panel at `/connections/wechat` on my SwB server. Ask me to select **Connect**. Ask me to scan the code with my WeChat account. Ask me to confirm the connection in WeChat. If WeChat asks for a PIN, direct me to enter the code in the SwB console. Keep the code in the console.

After ClawBot connects, ask me which agent answers here. Use `targets` to show the choices. Set my choice with `chat_main_set`.

Ask me to send a text message in my one-to-one chat with ClawBot. Ask me to check for a text reply in that chat. If WeChat ends the session, give me the same console link. Ask me to select **Reconnect**. Ask me to scan a new QR code.
```

에이전트는 `connect(what="wechat")`를 호출해 연결 안내를 받습니다. 에이전트 도구가 이미 ClawBot을 사용 중이라면 에이전트에게 알려 주세요. 이 경우 기존 연결을 유지하세요. SwB가 ClawBot을 운영한다면 답할 에이전트를 선택하세요.

SwB 콘솔에서 `/connections/wechat`을 여세요. **Connect**를 선택하세요. WeChat으로 QR 코드를 스캔하세요. WeChat에서 연결을 확인하세요. WeChat에서 PIN을 요청하면 SwB 콘솔에 그 코드를 입력하세요.

ClawBot과의 일대일 채팅에서 텍스트 메시지를 보내세요. 같은 채팅에 텍스트 답장이 오는지 확인하세요.

WeChat에서 세션이 종료되면 같은 화면을 다시 여세요. **Reconnect**를 선택하세요. 새 QR 코드를 스캔하세요.

[WeChat ClawBot 블록](/ko/docs/blocks/wechat)
