# Packaging and distributing Adobe CEP Extensions

{% hint style="info" %}
There is a more [in depth explanation of the steps involved here](/documentation/master-1.0.13-1/adobe-panel/packaging-and-distributing-adobe-cep-extensions/packaging-signing-adobe-cep-panel-in-details.md).\
Otherwise if you just want to run the automated script continue on this page.
{% endhint %}

## Build, package and sign the app

### Addd a config file

Create a `.env` file in the root of the repository, here's an example

```
ZXPSignCmd_PATH="./ccextensionsmac/ZXPSignCmd"
COUNTRY_CODE=US
STATE_OR_PROVINCE="New York"
ORGANIZATION=""
COMMON_NAME=""
CERTIFICATE_PASSWORD=""
CERTIFICATE_OUTPUT_PATH="./ccextensionsmac/certificate.p12"
INPUT_DIRECTORY="./adobe-panel-build"
OUTPUT_ZXP="./dist/com.autoedit2.it.zxp"
TIMESTAMPS_URL="http://timestamp.digicert.com/"
```

### Run script

The command below

```bash
npm run adobe-panel-package-sign-buil
```

It uses this script, `sign-and-package-adobe-panel.js`  to&#x20;

* &#x20;package all files and folders needed for Adobe CEP panel inside `./adobe-panel-build` folder  (in `.gitignore`)
* creates a self signed, time stamped, certificate `./ccextensionsmac/certificate.p12`  (in `.gitignore`)
* &#x20;pack and sign the extension, can find it in `./dist/com.autoedit2.it.zxp` (in `.gitignore`)

## Distribution&#x20;

See [submit to adobe section](/documentation/master-1.0.13-1/adobe-panel/packaging-and-distributing-adobe-cep-extensions/submit-to-adobe.md) for how to distribute that way.

or some more instruction on how to install third party extensions

{% embed url="<https://helpx.adobe.com/creative-cloud/kb/installingextensionsandaddons.html#Install_third_party_extensions>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://autoedit.gitbook.io/documentation/master-1.0.13-1/adobe-panel/packaging-and-distributing-adobe-cep-extensions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
