> ## 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/anGtSOP5rOnWAbQR/helpcenter/commands/custom-commands/zVqFJbuW/images/vzmjgsbh-01.png?fit=max&auto=format&n=anGtSOP5rOnWAbQR&q=85&s=26f043bfd0e5287546eda14e8939cca4" alt="image" width="1066" height="774" data-path="helpcenter/commands/custom-commands/zVqFJbuW/images/vzmjgsbh-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/anGtSOP5rOnWAbQR/helpcenter/commands/custom-commands/zVqFJbuW/images/vzmjgsbh-02.png?fit=max&auto=format&n=anGtSOP5rOnWAbQR&q=85&s=a4393cce5bccb5680038df8be895cecb" alt="image" width="500" height="678" data-path="helpcenter/commands/custom-commands/zVqFJbuW/images/vzmjgsbh-02.png" />

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

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

3.添加机器人

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

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

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

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

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

6.应用发布：

点击查看版本详情

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

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

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

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

获取 AppKey 和 AppSecret

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

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