# Hero AI Assistant

Once you finish creating your component or screen, now it's time to add more on top of it using Hero AI Assistant.&#x20;

You can use Hero AI Assistant to add any code to the code that you created with Monday Hero. You can fix bugs, convert it to another development language that's not in Monday Hero yet, add a validation to the existing code, and much more.&#x20;

Here is an example of how Hero AI Assistant works:

1. Click on your project and navigate to the Hero Assistant button.

<figure><img src="/files/2tY6LJFRKEHoMsAgbjXD" alt=""><figcaption><p>Hero Assistant</p></figcaption></figure>

2. Click 'Create Conversation' at the top right. Upon clicking, you will see the screen below. Select a screen or component code.

<figure><img src="/files/foa1D7MCQ29afjv34IRH" alt=""><figcaption><p>Select a screen or a component or theme file</p></figcaption></figure>

3. Choose a pre-prepared prompt or write your own, then click 'Submit'. For this example, 'Convert to React' is selected.

<figure><img src="/files/NCziAthonY9b9aTFnDa9" alt=""><figcaption><p>Select prompt and click submit</p></figcaption></figure>

4. Once you click 'Submit', you will receive the updated code!&#x20;

<figure><img src="/files/FVAu2IAY46QIl8m4EQzu" alt=""><figcaption><p>React Code Example</p></figcaption></figure>

<figure><img src="/files/8WdtnwIaS1zgqruZ895K" alt=""><figcaption><p>React Code Example Continued</p></figcaption></figure>

That's all. Continue chatting with Hero AI Assistant for all the changes you need in your code, such as adding validations, fixing bugs, and more.

Here are the pre-prepared prompts and additional functionalities you can explore with Hero AI Assistant:

**Validation:**

* URL Format Validation
* Alphabetic Only Validation
* Numeric Only Validation
* Password Strength Validation
* Pattern Matching (Regex) Validation
* Email Format Validation
* Alphanumeric Validation
* Minimum Length Validation
* Maximum Length Validation
* Required Field Validation
* Custom Validation

**Bug Fixes:**

* Custom Bug Fix
* Layout Overflow Bug Fix

**Code Conversion:**

* Convert to a Specified Dev-Lang
* Convert to SwiftUI
* Convert to Kotlin
* Convert to React
* Convert to React Native

**UI Manipulation:**

* Make An Element Parametric for Dynamic Content
* Make All Elements Parametric for Dynamic Content
* Center the Title in a Button
* Rename a UI Element
* Remove All Suffixes
* Remove a Suffix

**Other Features:**

* Explain Code
* Translate to Another Language
* Improve JSON Key Readability
* Get the Full Code

You can use Hero AI Assistant with tokens. Please find detailed information about the tokens here:

{% content-ref url="/pages/AZKhPAuQIVRoqjHMJiXi" %}
[Frequently Asked Questions](/reachus/frequently-asked-questions.md)
{% endcontent-ref %}

If you have new prompt requests or any questions, please contact us at <team@mondayhero.io> or visit [https://mondayhero.io](https://mondayhero.io/) and start a chat from the bottom right of the page.


---

# 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://learn.mondayhero.io/hero-ai-assistant/hero-ai-assistant.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.
