> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 建立钉钉机器人连接

# 建立钉钉机器人连接描述

使用应用连接钉钉机器人

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-01.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=c7452bb2a5f7d1b214a1455f2c7b149d" alt="image" width="1066" height="774" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-01.png" />

参数配置 指令输入 常规

Client lD：Client ID (原 AppKey 和 SuiteKey)

Client Secret：Client Secret 原 AppSecret 和：应用凭证AppSecret

Agentld：原企业内部应用Agentld

指令输出

钉钉机器人对象：获取一个字典格式的对象。

常见问题

企业内部应用获取 AppKey 和 AppSecret，开通机器人

打开网址[https://open-dev.dingtalk.com/fe/app](https://open-dev.dingtalk.com/fe/app) 登录钉钉开发者后台

1.创建企业内部应用

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-02.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=1745a98379a2d3c217a14d09661a3f57" alt="image" width="500" height="678" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-02.png" />

2.填写创建应用相关信息：

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-03.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=0017cadbf7c98867a718a597b81385e5" alt="image" width="620" height="1250" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-03.png" />

3.添加机器人

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-04.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=6607d89a6d5edadd8ea396fb74e1f6af" alt="image" width="2158" height="919" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-04.png" />

4.机器人配置并发布机器人

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-05.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=ac38666d9aefad78cb05b5422e2e0954" alt="image" width="923" height="1129" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-05.png" />

5.需开通一下权限: 成员信息读权限，调用企业API基础权限，企业内机器人发送消息权限，3个权限都需要开通

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-06.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=47d6d392440f0b337e9ff696d8134cf3" alt="image" width="2430" height="851" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-06.png" />

6.应用发布：

点击查看版本详情

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-07.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=24c41d9c87524c21bea45e7e5f3b9c2f" alt="image" width="2419" height="799" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-07.png" />

点击编辑标志，把版本信息补充完整

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-08.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=ef974ee7f7d7335fb83730733ae7e915" alt="image" width="1109" height="564" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-08.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-09.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=5749ff3b7d43c8c2d231e7e76e15a1df" alt="image" width="1229" height="1035" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-09.png" />

获取 AppKey 和 AppSecret

<img src="https://mintcdn.com/bazhuayu-rpa-docs/AQoj0la5o3OJK8xY/helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-10.png?fit=max&auto=format&n=AQoj0la5o3OJK8xY&q=85&s=c496a0843f1ff3638448b5845296137f" alt="image" width="2280" height="824" data-path="helpcenter/commands/custom-commands/lEaGzf0g/images/HR7WctQy-10.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
