# Running plugin from outside (external app)

**URL:** <https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499>\
**Category:** UXP Plugin API\
**Tags:** feature-request\
**Created:** [December 10, 2018, 11:50am UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499 "2018-12-10T11:50:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 10, 2018, 11:50am UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/1 "2018-12-10T11:50:56Z")

</div>

Is there a possibility to run a plugin from outside? e.g command line

I’m trying to integrate Adobe XD with an external application (mokup.app) and such functionality is crucial for my integration scenario.  
I see this kind of integration is done in ProtoPie, but can’t find any documentation of how this was done.

---

<div class="post-metadata">

**Author:** ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)\
**Post date:** [December 10, 2018, 8:35pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/2 "2018-12-10T20:35:05Z")

</div>

@Mokus running a plugin from outside is not currently possible, I’ve added the feature request tag to this.

---

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 10, 2018, 9:14pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/3 "2018-12-10T21:14:21Z")

</div>

But this type of integration is done in ProtoPie. How did they do that?

---

<div class="post-metadata">

**Author:** ![pklaschka](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pklaschka/32/3162_2.png) [@pklaschka](https://forums.creativeclouddeveloper.com/u/pklaschka)\
**Post date:** [December 10, 2018, 9:22pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/4 "2018-12-10T21:22:26Z")

</div>

@Mokus  
ProtoPie doesn’t have a plugin for Adobe XD available, do they? You can import XD files, but is there a plugin (available in the “Discover plugins” panel or as a downloadable `.xdx` file)?

A quote from [ProtoPie | High-Fidelity Prototyping Tool for Adobe XD](https://www.protopie.io/with/adobe-xd-cc/) :

> **Do I need to install a plugin for Adobe XD CC?**
> 
> No, all you need to get started are ProtoPie and the latest version of Adobe XD CC.

---

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 10, 2018, 9:31pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/5 "2018-12-10T21:31:33Z")

</div>

I thought they use a plugin for integration. Probably not. Anyways, with plugin or without it. You click import in Protopie, the open document from XD gets imported to ProtoPie. How is this possible? What API do they use? Rendering is obviously happens on the XD side - all the texts from XD are imported as pngs to ProtoPie.

---

<div class="post-metadata">

**Author:** ![pklaschka](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pklaschka/32/3162_2.png) [@pklaschka](https://forums.creativeclouddeveloper.com/u/pklaschka)\
**Post date:** [December 10, 2018, 9:38pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/6 "2018-12-10T21:38:54Z")

</div>

@stevekwak

> [@Mokus](#):
>
> I thought they use a plugin for integration. Probably not. Anyways, with plugin or without it. You click import in Protopie, the open document from XD gets imported to ProtoPie. How is this possible? What API do they use? Rendering is obviously happens on the XD side - all the texts from XD are imported as pngs to ProtoPie.

Under those circumstances, we could probably remove the “Feature request” tag again, since it’s not really about plugin development, but about non-plugin integrations. (To be precise, even “XD Plugin Development” doesn’t really match the question, then 😉)

---

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 10, 2018, 9:54pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/7 "2018-12-10T21:54:16Z")

</div>

You can add or remove tags as you like. What do you mean by “non-plugin integration”? Is there a “non-plugin” API?

---

<div class="post-metadata">

**Author:** ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)\
**Post date:** [December 10, 2018, 10:05pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/8 "2018-12-10T22:05:18Z")

</div>

ProtoPie uses a different API which is different from the plugin APIs. These integrations are more like “direct integrations” which need a lot more handholding. Since we have rolled out the plugin APIs, we stopped creating more “direct integrations” like Protopie.

---

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 10, 2018, 10:09pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/9 "2018-12-10T22:09:44Z")

</div>

OK. In this case some possibility to call XD Plugin from outside is needed. Since it’s the only way to implement the same scenario. Thank you, Steve.

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [December 17, 2018, 3:12pm UTC](https://forums.creativeclouddeveloper.com/t/running-plugin-from-outside-external-app/499/10 "2018-12-17T15:12:55Z")

</div>

I suggest have this feature mandatory for all scriptable Adobe apps.
