# How to deploy custom developed piece

**URL:** <https://community.activepieces.com/t/how-to-deploy-custom-developed-piece/649>\
**Category:** Need help\
**Created:** [October 9, 2023, 2:51pm UTC](https://community.activepieces.com/t/how-to-deploy-custom-developed-piece/649 "2023-10-09T14:51:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://community.activepieces.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://community.activepieces.com/u/Thomas)\
**Post date:** [October 9, 2023, 2:51pm UTC](https://community.activepieces.com/t/how-to-deploy-custom-developed-piece/649/1 "2023-10-09T14:51:12Z")

</div>

Hey community,

I recently developed a new piece (that interacts with one of our databases) and managed to deploy activepieces to the Azure Cloud.

In the deployed version, I can see all publicly available pieces but not my custom piece.  
For my next step, I’d love to add the custom piece in addition to all publicly available pieces in my deployed version, but I want to keep my piece private as it is not useful for the open source community.

I was checking what’s going on in the **piece-metadata-service** and saw that the file-based approach (FilePieceMetadataService()) to load pieces from the local file system is only active in DEV-Mode.  
Would it be possible to switch to the file-based approach for my custom deployment or is that not advised?

Alternatively, I noticed there’s the dbPieceProvider besides the cloudPieceProvider and that there’s a POST endpoint in the piecesController but I couldn’t find out how to use this endpoint to add my custom piece there.

Can you please give me a hint on how I can get my custom piece available in the deployed version (e.g. via the file-based or by hosting the package in private repo)? Thanks a lot!

---

<div class="post-metadata">

**Author:** ![system](https://community.activepieces.com/uploads/default/original/1X/f3af8cd75e0cc52ac7f19a3b45663ce0396f5016.png) [@system](https://community.activepieces.com/u/system)\
**Post date:** [October 24, 2023, 2:51pm UTC](https://community.activepieces.com/t/how-to-deploy-custom-developed-piece/649/2 "2023-10-24T14:51:34Z")

</div>

Closed on October 24, 2023, 2:51pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
