> For the complete documentation index, see [llms.txt](https://docs.cekat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cekat.ai/ai-integration/file-generator.md).

# File Generator

File Generator digunakan untuk mengatur bagaimana AI membuat file (PDF, Excel, Word, CSV, dsb.) menggunakan code execution di belakang layar. Pada File Generator ini kamu dapat memberi instruksi permanen kepada AI setiap kali AI diminta membuat file, sehingga AI akan mengikuti aturan yang kamu buat di prompt. Selain itu juga dengan kamu membuat File Generator Prompt hasil yang kamu dapatkan akan menjadi seragam dan profesional.

<figure><img src="/files/075oY3xRbQOabJEMfibB" alt=""><figcaption></figcaption></figure>

## **Langkah-Langkah mengatur File Generator:**

{% stepper %}
{% step %}

### **Akses Halaman Integration**

Di halaman integration, pilih bagian **Connected Apps** dan cari fitur **AI File Generator**.

<figure><img src="/files/U3BDJwZzrdZL71r5YY4w" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### **Aktifkan Fitur**

Untuk mengaktifkan, klik **Activate**.

<figure><img src="/files/J0AEeHvgfcUuauetDOUA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### **Konfigurasi Pengaturan**

Klik **Settings** untuk melakukan konfigurasi dari **AI File Generator**.

<figure><img src="/files/x1TPWQevTAnikyg6lA8x" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### **Masukkan File Generator Prompt**&#x20;

<figure><img src="/files/ED1Zb6s9EdVTfG7DVo6C" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Klik Save Configuration

Save Configuration button terdapat 4 kondisi:

* Akan menjadi **enable** ketika user sudah menambahkan Prompt
* Akan menjadi **enable** ketika user merubah isi Prompt
* Akan menjadi **disable** ketika belum menambahkan Prompt
* Akan menjadi **disable** ketika tidak adanya perubahan Prompt

<figure><img src="/files/uYkC5L56SpUTJijl9CQV" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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:

```
GET https://docs.cekat.ai/ai-integration/file-generator.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.
