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

# 钉钉

使用钉钉 Channel，你可以将 Aurogen 智能体接入钉钉机器人，使用户能够在钉钉中直接发送消息，并接收智能体返回的回复。

登录[开发者后台](https://open-dev.dingtalk.com/?hash=%23%2F#/)

在**应用开发**下，点击**立即创建**，可一键创建Claw机器人。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/2e2afc9a-199d-4763-ac46-8df7e6038b9d.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=d9f6cd93525ae9c62fc508a5e2a09432" alt="2e2afc9a 199d 4763 Ac46 8df7e6038b9d" width="1646" height="993" data-path="images/2e2afc9a-199d-4763-ac46-8df7e6038b9d.png" />
</Frame>

在创建OpenClaw界面，填写机器人基本信息（包括机器人名称、机器人简介和机器人图标），也可直接使用默认的机器人信息，直接点击确定即可。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/4d01b114-1d6a-4ed4-8699-14d691ed8910.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=f93ff44c4e26207f0df062b67ec3ed5b" alt="4d01b114 1d6a 4ed4 8699 14d691ed8910" width="1241" height="866" data-path="images/4d01b114-1d6a-4ed4-8699-14d691ed8910.png" />
</Frame>

Claw创建成功后，会自动展示应用的Client ID和Client Secret，请保存好Client ID和Client Secret用于后续使用。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/f3eb7bf0-63ff-4e81-aafc-196251d49edb.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=0f6b190160d1063e12b485b8a7fe0606" alt="F3eb7bf0 63ff 4e81 Aafc 196251d49edb" width="1216" height="809" data-path="images/f3eb7bf0-63ff-4e81-aafc-196251d49edb.png" />
</Frame>

当OpenClaw创建成功后，会自动创建一个应用，如下图所示：

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/b786be8160ce8db31891dc9b2fdb27e7.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=e316c2a5d39fd804bd4a1a4038832cba" alt="B786be8160ce8db31891dc9b2fdb27e7" width="1340" height="888" data-path="images/b786be8160ce8db31891dc9b2fdb27e7.png" />
</Frame>

在应用的**凭证与基础信息**中，也可以获取到应用的**Client ID**和**Client Secret**，如下图示：

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/8bbfca598b926c9587c6d1e5c7284ee5.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=a7039e9ae890f1de5a583dd8b1a34e3e" alt="8bbfca598b926c9587c6d1e5c7284ee5" width="1411" height="954" data-path="images/8bbfca598b926c9587c6d1e5c7284ee5.png" />
</Frame>

进入 **Aurogen Web** 的 **Channels** 页面，点击右上角“添加 Channel”。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/image-123.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=11251603c58632dcfaf2d390caaccbc3" alt="Image" width="1284" height="804" data-path="images/image-123.png" />
</Frame>

选择类型为dingtalk，并填写该 Channel 的唯一标识名称。该名称不可重复。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/image-124.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=6deb5cbca4887b38a975ac5a993caf78" alt="Image" width="492" height="629" data-path="images/image-124.png" />
</Frame>

选择该 Channel 对应的 Claw，并填写描述信息。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/image-125.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=76e3c44007c6b5acf2d2fc7878aa16bd" alt="Image" width="499" height="630" data-path="images/image-125.png" />
</Frame>

在钉钉开发者平台的获取 Client ID和Client Secret，并将其填写到对应的 Channel 配置项中。填写完成后，点击添加，即可完成 Channel 创建。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/IaMYtobXxpJl4I1S/images/image-126.png?fit=max&auto=format&n=IaMYtobXxpJl4I1S&q=85&s=7eb9501a8a1b6b6a3daac6e3f92083d9" alt="Image" width="493" height="636" data-path="images/image-126.png" />
</Frame>

### 测试

在顶部搜索框中搜索已创建机器人名称直接使用。

<Frame>
  <img src="https://mintcdn.com/123-1747710f/c3u6JWBlbS1vcv9i/images/7bac04657cba3c16369d6ca57c6b4661.png?fit=max&auto=format&n=c3u6JWBlbS1vcv9i&q=85&s=deee8b01041a5975a8243c3acfd691ac" alt="7bac04657cba3c16369d6ca57c6b4661" width="2874" height="1624" data-path="images/7bac04657cba3c16369d6ca57c6b4661.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/123-1747710f/c3u6JWBlbS1vcv9i/images/dc008c93-d4c3-471d-9ea3-65dde57d17b4.png?fit=max&auto=format&n=c3u6JWBlbS1vcv9i&q=85&s=6584cd54d29405a073ee97f83d09f629" alt="Dc008c93 D4c3 471d 9ea3 65dde57d17b4" width="2310" height="1632" data-path="images/dc008c93-d4c3-471d-9ea3-65dde57d17b4.png" />
</Frame>
