# WeChat ClawBot

URL: https://swb.one/docs/blocks/wechat

Use WeChat ClawBot with a personal SwB server that you host. Send a text message in your one-to-one chat with ClawBot. SwB brings the agent’s text reply back to the same chat.

SwB treats the WeChat account that confirms the QR code as the owner of this connection.

[Set up WeChat](/docs/setup/wechat)

SwB connects to ClawBot through Tencent’s iLink service. See [Tencent’s iLink reference for v2.4.10](https://github.com/Tencent/openclaw-weixin/blob/v2.4.10/docs/protocol.md) and [Tencent’s PIN guidance](https://github.com/Tencent/openclaw-weixin/discussions/381).

## Choose who answers [#choose-who-answers]

Choose an agent under **Answers here** in the WeChat ClawBot connection. If your agent tool already uses this ClawBot, keep that connection.

[Choose who answers in a chat](/docs/chat-answers)

## Block settings [#block-settings]

| Key | Use |
| - | - |
| `blocks.wechat` | WeChat ClawBot settings |
| `blocks.wechat.use` | Set to `wechat` |
| `blocks.wechat.enabled` | Set to `true` to load the block |
| `blocks.wechat.project` | SwB project for the chat |
| `blocks.wechat.default_target` | Default target for messages from the chat |
| `blocks.wechat.agents` | Agents that receive messages and can reply. Give each agent access to the `owner` chat. |
