> ## Documentation Index
> Fetch the complete documentation index at: https://resources.flare-studio.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Prepare Your App

> Compile and package your app components for distribution

<Info>
  Preparation is the process of compiling all your app components into a single package ready for publishing.
</Info>

## Overview

When you've finished testing every functionality of your app and it works great, you can proceed with preparing. This step compiles all components into a distributable format suitable for:

* **Publishing** to the Exe 6 App Library
* **External distribution** as a downloadable app

## Preparation Process

<Steps>
  <Step title="Navigate to Preparation Page">
    Go to **Apps** in Exe 6 and select **Prepare** to access the Preparation Page

    <Frame caption="Preparation page">
      <img src="https://mintcdn.com/tomdacatcorp/16zEdFlgRLQKX9-d/images/apps/prepare/image%20(2).avif?fit=max&auto=format&n=16zEdFlgRLQKX9-d&q=85&s=f9b315c2d834eb0c92ba128f8c9107ff" alt="Prepare screen" width="1200" height="591" data-path="images/apps/prepare/image (2).avif" />
    </Frame>
  </Step>

  <Step title="Select App Components">
    Choose all components that make up your app:

    <Accordion title="Component Types">
      * **Scripts** - All Lua scripts and logic
      * **UIs** - User interface elements and screens
      * **Events** - Event handlers and triggers
      * **Objects** - Additional game objects and assets
    </Accordion>

    <Tip>
      The "Prepare" button displays how many components you've selected
    </Tip>
  </Step>

  <Step title="Compile Your App">
    Click the **Prepare** button to start the compilation process

    This will:
    Store them in the `Exe6Folder` for distribution
  </Step>
</Steps>

## Output Structure

After preparation, your app will be compiled into the following structure:

<CodeGroup>
  ```text Folder Structure theme={null}
  Exe6Folder/
  │  App components
  ```
</CodeGroup>

<Warning>
  Ensure all components are properly tested before preparing. Once compiled, the components are saved and cannot be easily modified.
</Warning>

## The Exe6Folder

The `Exe6Folder` is the container for your prepared app:

<Frame caption="Exe 6 App folder">
  <img src="https://mintcdn.com/tomdacatcorp/AO_g0-2MfOWvKuM3/images/apps/prepare/exe6folder.avif?fit=max&auto=format&n=AO_g0-2MfOWvKuM3&q=85&s=dab317e8799fbad5bc8a1d3211fb7627" alt="Exe 6 app folder" width="462" height="162" data-path="images/apps/prepare/exe6folder.avif" />
</Frame>

<CardGroup cols={1}>
  <Card title="Distribution Ready" icon="box">
    Ready to upload to Roblox or share externally
  </Card>
</CardGroup>

## Next Steps

Once your app components are prepared, you can proceed to publishing:

<Card title="Publish Your App" icon="rocket" href="/apps/publish">
  Learn how to upload your prepared app to Roblox
</Card>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Component selection not showing">
    Make sure all your app components are properly placed in your Exe 6 workspace and are not inside restricted folders.
  </Accordion>

  <Accordion title="Prepare button is disabled">
    You must select at least one component before the Prepare button becomes active.
  </Accordion>

  <Accordion title="Compilation fails">
    Check that none of your components have syntax errors or missing dependencies. Test each component individually before preparing.
  </Accordion>
</AccordionGroup>

***
