# Installing Processes on Bonita BPM Platform/Server

**URL:** <https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624>\
**Category:** Q&A\
**Created:** [9 May 2019 20:30 UTC](https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624 "2019-05-09T20:30:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtumminelli\_1394599](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/rtumminelli_1394599/32/1412_2.png) [@rtumminelli\_1394599](https://community.ofelia.com/u/rtumminelli_1394599)\
**Post date:** [9 May 2019 20:30 UTC](https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624/1 "2019-05-09T20:30:34Z")

</div>

Hello,

I know that one can install new processes, organizations, and profiles to an instance of Bonita BPM Platform through the Portal, but are there any other ways to do this manually by moving the bar/xml files somewhere in the server files or perhaps even programmatically through API?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![nampham97se\_1390962](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@nampham97se\_1390962](https://community.ofelia.com/u/nampham97se_1390962)\
**Post date:** [10 May 2019 03:16 UTC](https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624/2 "2019-05-10T03:16:59Z")

</div>

Hi, I can install new process using Bonita Engine API. With BusinessArchive read file bar(draw from studio or export from server already process) and ProcessDefinition to deployAndEnable this businessArchive. with organizations same. With profiles i programming like a register user.

---

<div class="post-metadata">

**Author:** ![rtumminelli\_1394599](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/rtumminelli_1394599/32/1412_2.png) [@rtumminelli\_1394599](https://community.ofelia.com/u/rtumminelli_1394599)\
**Post date:** [6 June 2019 17:15 UTC](https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624/3 "2019-06-06T17:15:37Z")

</div>

hey nampham, I see deployAndEnableProcess in the API, but you need to provide it a BusinessArchive object. Is there a way to convert a .bar file to a BusinessArchive object?

---

<div class="post-metadata">

**Author:** ![rtumminelli\_1394599](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/rtumminelli_1394599/32/1412_2.png) [@rtumminelli\_1394599](https://community.ofelia.com/u/rtumminelli_1394599)\
**Post date:** [11 June 2019 14:48 UTC](https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624/4 "2019-06-11T14:48:46Z")

</div>

I found what I was looking for. You can read in .bar files using the BusinessArchiveFactory’s method readBusinessArchive(file).

Thanks!

---

<div class="post-metadata">

**Author:** ![nampham97se\_1390962](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@nampham97se\_1390962](https://community.ofelia.com/u/nampham97se_1390962)\
**Post date:** [12 June 2019 03:16 UTC](https://community.ofelia.com/t/installing-processes-on-bonita-bpm-platform-server/9624/5 "2019-06-12T03:16:52Z")

</div>

Hi, today i’m done with project webApp with Bonita. Now have time to read this post, congrat you found it.
