> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/integrations/builtin/credentials/resend.md).

# 在 Duaer 里配置 Resend API Key

在 Resend 新建 API Key，贴进 Duaer 的 Resend API 凭证。只发信用 Sending access，管理联系人和 webhook 用 Full access。
## 怎么在 Duaer 里创建 Resend 凭证？

1. 在 [Resend 控制台的 API Keys 页](https://resend.com/api-keys) 新建一个 API Key。只发信可以选 Sending access；要用联系人、Segment、群发或 Resend Trigger，选 Full access。
2. 在 Duaer 的 Credentials 里新建 Resend API，把 API Key 贴进去并保存。
3. 在 Resend 节点或 Resend Trigger 的 Credential to connect with 里选中这份凭证。节点说明见 [在 Duaer 里使用 Resend](/zh/integrations/builtin/app-nodes/duaer-nodes-base.resend.md)。

## 该选 Sending access 还是 Full access？

- Sending access：只能发邮件。适合只用 Send 和 Send Batch 的工作流程。
- Full access：还能读邮件、管理联系人、Segment、群发和 webhook。Resend Trigger 和这些操作都需要它。

## 保存时测试失败怎么办？

Duaer 读取 Resend 的域名列表来测试连接。Sending access 的密钥读不了域名列表，测试会显示失败，但不影响发信。Full access 的密钥测试失败，说明密钥填错或已被删除。

发件地址的域名要先在 Resend 的 Domains 页验证，否则发信会被 Resend 拒绝。
## Questions

### Duaer 的 Resend 凭证要什么权限？

只发信用 Sending access 就够；联系人、Segment、群发和 Resend Trigger 需要 Full access。

### Duaer 里 Resend 凭证测试失败还能发信吗？

Sending access 的密钥测试会失败但能正常发信；Full access 的密钥测试失败说明密钥有问题。

## 相关

- [Resend 邮件自动化：在 Duaer 里发送、定时和群发](https://doc.duaer.com/zh/integrations/builtin/app-nodes/duaer-nodes-base.resend.md)
- [Resend Webhook：邮件事件启动 Duaer 流程](https://doc.duaer.com/zh/integrations/builtin/trigger-nodes/duaer-nodes-base.resendtrigger.md)

