> For the complete documentation index, see [llms.txt](https://docs-kr.zep.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-kr.zep.us/creator/dev-guide/zep-script.md).

# ZEP Script 배포 가이드

## <mark style="background-color:purple;">STEP 1.</mark>

#### ZEP Script로 개발한 코드(**main.js)**, 사용할 이미지 파일, 위젯 파일들을 선택한 후 압축합니다.

{% hint style="danger" %}
주의:

\- 앱의 파일명과 형식은 반드시 “**main.js**”로 지정해주어야 합니다.&#x20;

\- 폴더를 압축하는 것이 아니라 **파일을 멀티 선택한 후 압축**해야 합니다.&#x20;

\- **\*.zip** 형식의 확장자를 지원합니다.
{% endhint %}

**예시 파일**

![](/files/6mc2IcJFZcjhhtxEx20W)

{% file src="/files/flE4EOIaqhVKUAiy1SFU" %}

## <mark style="background-color:purple;">STEP 2.</mark>

#### ZEP에 회원가입 또는 로그인 후, [<mark style="color:purple;">나의 스페이스 목록</mark>](https://zep.us/spaces/me) 페이지에서 \[프로필] > \[나의 앱(Beta)]를 클릭합니다

<div align="left"><figure><img src="/files/jdbqI1PpWWobO2B7qBx3" alt=""><figcaption></figcaption></figure></div>

## <mark style="background-color:purple;">STEP 3.</mark>

#### [<mark style="color:purple;">나의 앱 페이지</mark>](https://zep.us/me/apps)에서 **\[앱 업로드]** 버튼을 클릭합니다.

<figure><img src="/files/qn9OejALTzWIMbwQSZIk" alt=""><figcaption></figcaption></figure>

## <mark style="background-color:purple;">STEP 4.</mark>

#### 앱 이름, 설명, 유형, 아이콘, 압축 파일 (스크립트, 위젯, 이미지 파일의 압축된 버전)을 설정 후 업로 **버튼**을 눌러줍니다.

<figure><img src="/files/1TCC1MHu7h3YsOQeapxy" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/KnWwREm0UvL0hzkKKO1l" alt=""><figcaption><p>앱 이름과 아이콘이 적용된 모습 (미니게임)</p></figcaption></figure>

## <mark style="background-color:purple;">STEP 5.</mark>

#### 앱의 종류에 따라 원하는 맵에 설치하기.

* **노멀 앱**(**Normal app):**

  Owner 권한을 가진 맵의 사이드바에서 **\[설정] > \[맵 설정] > \[노말 앱 추가]**&#xC5D0;서

  적용할 수 있습니다.

<figure><img src="/files/7RDx5kppvBf4VFRrCNbJ" alt=""><figcaption></figcaption></figure>

* **미니게임(Mini game):**

  플레이 화면의 **\[좌측 사이드바] > \[미니게임 버튼]**&#xC744; 클릭해 설치할 수 있습니다.

<div align="left"><figure><img src="/files/Nxv60kLoAoAaIoJTPNvL" alt=""><figcaption></figcaption></figure> <figure><img src="/files/E0aL6Ipgy5JtAn1QcXuV" alt=""><figcaption></figcaption></figure></div>

## 🚧 **디버깅 및 에러 메시지**

앱 실행 시, 에러 메시지는 **스태프 권한 이상의 유저 채팅창에&#x20;**<mark style="color:red;">**빨간색 글씨**</mark>로 노출됩니다.

<div align="left"><figure><img src="/files/b7vBlcvhHCV8ZcyTuOoA" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-kr.zep.us/creator/dev-guide/zep-script.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
