# Import and Iterate on Your Existing Components

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

### How to Upload and Improve Your Components

1. **Turn on Dev Mode First**
   * Click the **Dev** button inside your component to enable Developer Mode.
   * Only after turning on Dev Mode, you’ll see these options:
     * **Upload Source Files** (upload individual files)
     * **Ask AI** (generate missing files)
     * **Extract .zip** (upload and extract full project archives)
2. **Upload Your Files or Extract a Project**
   * Upload your JSX, JavaScript, and CSS files individually.\
     **OR**
   * Upload a `.zip` file containing your full component structure (Jet Admin will extract it automatically).
3. **Use AI Assistance to Enhance the Uploaded Component**
   * After uploading, you can ask AI to:
     * Fix broken layouts
     * Generate missing actions or params
     * Improve design or logic
4. **Edit Freely in Dev Mode**
   * Edit files directly (layouts, styles, logic) to fine-tune your component.
5. **Download Your Component Files (Optional)**
   * Save and download your complete, improved component whenever needed.
6. **Save and Preview Changes Instantly**
   * Instantly preview how your updated component looks and behaves inside your app.

{% @arcade/embed flowId="4cYhQ2CMXMHsspzjLKmv" url="<https://app.arcade.software/share/4cYhQ2CMXMHsspzjLKmv>" %}

{% hint style="info" %}

### 📋 Best Practices

**Prepare a Clean Project Structure**:\
Especially important if you are uploading a `.zip` — keep it organized.

**Use Consistent Naming**:\
Makes it easier for AI and for you to work across multiple files.

**Check Preview Frequently**:\
Always preview after uploading or editing major files.
{% endhint %}


---

# 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://docs.jetadmin.io/ai-custom-components/import-and-iterate-on-your-existing-components.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.
