> For the complete documentation index, see [llms.txt](https://learn.mondayhero.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.mondayhero.io/hero-ai-assistant/hero-ai-assistant.md).

# Hero AI Assistant

Use Hero AI Assistant to convert to another development language, fix bugs, add validations, include translations, and more.

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="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2FnluwNEDkiewWnBEaVxWD%2FScreenshot%202024-05-08%20at%2013.27.49.png?alt=media&amp;token=b5abb722-9d36-4294-a7e5-d83985551e87" 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="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2FPGHDgNHwDiRJMKd1MGYJ%2FScreenshot%202024-05-08%20at%2013.27.35.png?alt=media&amp;token=eb698ccb-bd85-4fb0-874e-30fa51a3f981" 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="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2FpB2AGTjLxs1Ni3RftN1v%2FScreenshot%202024-05-08%20at%2013.27.58.png?alt=media&amp;token=b64981ac-8da3-40f8-ae4d-48c92cf5c543" 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="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2F07mUNRh5kxW6FM5GZNzF%2FScreenshot%202024-05-08%20at%2013.24.02.png?alt=media&amp;token=a6224cc9-f96a-4f5d-bbb3-be4925ab5d8c" alt=""><figcaption><p>React Code Example</p></figcaption></figure>

<figure><img src="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2FDnxqLrhHMTEURbWRyNbi%2FScreenshot%202024-05-08%20at%2013.20.07.png?alt=media&amp;token=64e9c178-7c9a-476b-a74d-80cb4bcc824f" 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.
