# Create user stories, BDDs, or PRDs based on a file

In aqua's requirement management module, users can now quickly generate user Stories, Behavior-Driven Development (BDD) documents, or Product Requirements Documents (PRD) based on files they upload. Supported file formats include images (png, jpg, webp, tiff), xlsx, and PDFs. This feature is designed to speed up requirement documentation by leveraging pre-existing materials and transforming them into actionable requirements.

Navigate to the requirements tab and click the 'Add new' button, then select 'Requirement'.&#x20;

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

In the pop-up window, select **the 'File' option and upload your file.** Click 'Browse' or drag and drop your file into the designated area.

Provide additional context in case youf find it important for AI Copilot to consider.

![](https://images.tango.us/workflows/f52e7ce0-5a7f-4e8f-977d-c91df42c45bb/steps/7892dfad-a1c4-4be1-a3d8-e7391b031e45/3533be23-df1c-4674-80d6-b534b0cfb4f6.png?mark-x=478\&mark-y=742\&m64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL2JsYW5rLnBuZz9tYXNrPWNvcm5lcnMmYm9yZGVyPTQlMkNGRjc0NDImdz0xNTA0Jmg9MzY2JmZpdD1jcm9wJmNvcm5lci1yYWRpdXM9MTA%3D)

Choose between creating a **user story**, **BDD**, or **PRD**. and click 'Create' button.

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

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

After the document is generated, you can review the content, make any necessary edits, and add it.

If you don't like the result, click 'Regenerate' icon.

You can create requirements based on the files from the requirements page too. Just click the button 'Write' and use is as from the navigation page.&#x20;

{% hint style="info" %}
Please note that while this feature is in beta, it has a few limitations:

* It can process only 1-page PDF files.
* It can generate only one document at a time.
  {% endhint %}

Have feedback? Don't hestitate to share! Email us at **<support@aqua-cloud.io>** or **<feedback@aqua-cloud.io>**


---

# 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.aqua-cloud.io/documentation/ai-copilot/create-user-stories-bdds-or-prds-based-on-a-file.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.
