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

# Private

> Learn how to share your pieces privately.

<Snippet file="enterprise-feature.mdx" />

This guide assumes you have already created a piece and created a private fork of our repository, and you would like to package it as a file and upload it.

> [!TIP]
>
> Friendly Tip: There is a CLI to easily upload it to your platform. Please check out [Publish Custom Pieces](https://www.activepieces.com/docs/build-pieces/misc/publish-piece.md).

**1. Build Piece**

Build the piece using the following command. Make sure to replace `${name}` with your piece folder name.

```bash theme={null}
npm run pieces -- build --name=${name}
```

> [!NOTE]
>
> More information about building pieces can be found [here](https://www.activepieces.com/docs/build-pieces/misc/build-piece.md).

**2. Upload Tarball**

Upload the generated tarball from `packages/pieces/custom/${name}/dist` from Activepieces Platform Admin -> Pieces

![Manage Pieces](https://mintcdn.com/activepieces/YnHR-FoHjOnRCsQr/resources/screenshots/install-piece.png?fit=max\&auto=format\&n=YnHR-FoHjOnRCsQr\&q=85\&s=4b27e093f12ab3e1deaa10af411d4561)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.