# Generative AI

One of the unique abilities of our product is the ablility to create runnable workflows from natural language.&#x20;

1. Select a flow from the sidebar or create a new flow.
2. Click `Generate` from the top right corner of the header.
3. This will show a popup box asking for the model\_name and description of your flow in natural language.

<figure><img src="https://4117604482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5kRbYlQgU50zpBM3y5aL%2Fuploads%2FIC9Uty19ecDFxyV1NRYm%2FScreenshot%202024-04-18%20at%205.08.04%E2%80%AFPM.png?alt=media&#x26;token=ade30c81-8e78-4c17-acc8-b0864fa457bc" alt="" width="375"><figcaption></figcaption></figure>

4. Currently we only support OpenAI, but we plan to integrate other models soon. Let us know if you want a specific model integrated.
5. Request your OpenAI api key by signing up [here](https://platform.openai.com/) or you can contact us on our [social media handles](https://flowtestai.gitbook.io/flowtestai) and we can provide you one based on your use case.
6. Now head to the directory where you created your collection in your file system. Create a `.env` file and enter `OPENAI_APIKEY=<api_key_value>` . Once you do that you should start seeing that in the `Generate` pop up box if you select OPENAI as your choice of model.

<figure><img src="https://4117604482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5kRbYlQgU50zpBM3y5aL%2Fuploads%2FbPLW6USM0Jm7fzm2lziQ%2FScreenshot%202024-04-15%20at%209.32.50%E2%80%AFPM.png?alt=media&#x26;token=77be2449-a9b6-4d1e-b391-537b38b2a6e9" alt="" width="375"><figcaption></figcaption></figure>

6. Now that you have everything set, describe your flow, click `Generate` and you will soon see a series of nodes connected together to form a workflow. You can run the workflow, modify it by adding more logical nodes and finally save it for future use.
