向 Leap 描述你想要的功能。
Bird 负责发送消息。

将 Leap 指向一份 Bird 指南,描述你的应用需要发送什么。Leap 会使用 Bird SDK 编写一个 Encore 端点,你的 API 密钥保存在 Leap 密钥中。

从提示词到 送达。

你的智能体可以设置通道、管理客户并确认送达。
通过 MCP 和 CLI 实现完整的读写访问。

你Voice

能否查看当前有哪些通话处于活跃状态,并告诉我哪些已接通、哪些仍在响铃?

Bird MCP4 个关联操作
  1. 1读取工作区workspace_get
  2. 2查找进行中的通话voice_legs_list
  3. 3查看已接通的通话voice_legs_get
  4. 4查看振铃中的通话voice_legs_get

将 Bird 添加到 Leap。
然后开始工作。

Leap 根据提示词编写集成代码,你添加 API 密钥。

Leap 提示词
Add a backend endpoint to send email with Bird. Follow https://bird.com/docs/get-started/send-your-first-email: use the @messagebird/sdk package and read the API key from a secret named BirdApiKey.
  1. 询问 Leap

    将提示词粘贴到 Leap 的对话中。Leap 会阅读 Bird 的快速入门指南,使用 Bird SDK 编写端点,并声明 BirdApiKey 密钥。

  2. 设置密钥

    在 Bird 中依次打开 Developers 和 API keys,创建一个 API 密钥。在 Leap 中打开 Settings,然后打开 Secrets,将密钥粘贴为 BirdApiKey 的值。对话中的 Missing secret value 提示会打开同一界面。

  3. 发送测试

    调用 Leap 创建的端点。快速入门指南从 onboarding@messagebird.dev 发送到 delivered@messagebird.dev,这是一个沙盒地址,每条消息都会送达。在向客户发送之前,请先验证你自己的域名。

由智能体构建。
为你的用户准备就绪。

你发布的应用需要自己的服务端连接来访问 Bird。

将密钥保存在服务端

Leap 会加密 BirdApiKey 值,并在运行时将密钥传递给你的后端。你的前端调用后端,后端再调用 Bird。

探索 API

使用你控制的发送者

验证你的邮件域名,或为所选渠道配置一个合规的发送者。

准备你的首次发送

展示真实结果

保存消息 ID。根据消息状态或投递事件更新你的应用。

跟踪结果

几个不错的
起点。

指定 Bird 产品和密钥,Leap 来编写后端代码。

发送欢迎邮件
When a user signs up, send a welcome email with Bird using the @messagebird/sdk package and the BirdApiKey secret. Store the returned message ID with the user.
发送订单更新短信
When an order ships, send the customer an SMS with Bird, including the tracking link. Use the @messagebird/sdk package and the BirdApiKey secret.
跟踪配送
Add an endpoint to read a Bird email message by its stored ID and return its status, so the order page shows whether the email was delivered.

在你的第一个任务之前。

连接正常工作背后的细节。

Leap 如何学习 Bird API?

从你的提示词中学习。链接一份 Bird 指南(例如邮件快速入门),Leap 会在编写端点之前先读取该页面。

API 密钥存储在哪里?

存储在 Leap 密钥库中。Leap 会加密该值,并在运行时将密钥提供给你的应用,因此密钥不会出现在你的代码中。

我需要设置区域吗?

不需要。Bird SDK 会从你的 API 密钥中读取区域,因此以 bk_eu1_ 开头的密钥会自动调用欧盟主机,无需额外配置。

你的下一个创意。
随时连接。