私有分享

了解如何私有分享你的 Piece。

此功能仅适用于付费版本。如有需要,请联系我们

本指南假设你已经创建了一个 Piece,并且已经创建了我们的仓库的私有 Fork,现在希望将其打包为文件并上传。

友情提示:有一个 CLI 可以轻松将其上传到你的平台。请查看[发布自定义 Piece](../misc/publish-piece)。 使用以下命令构建 Piece。请务必将 `${name}` 替换为你的 Piece 文件夹名称。
```bash theme={null}
npm run pieces -- build --name=${name}
```

<Info>
  更多关于构建 Piece 的信息请参见[此处](../misc/build-piece)。
</Info>
将生成的 `dist/packages/pieces/${name}` 内的压缩包从 Activepieces 平台管理界面 -> Piece 页面上传。
<img src="https://mintcdn.com/activepieces/uHZ35vXyxX7goNO-/resources/screenshots/install-piece.png?fit=max&auto=format&n=uHZ35vXyxX7goNO-&q=85&s=567001cb8e4a99373514c6e35453ed45" alt="管理 Piece" width="1420" height="900" data-path="resources/screenshots/install-piece.png" />