Skip to main content

OpenAI integration

OpenAI is an Artificial Inteligence service provider.


AI-based programming

If you're interested in AI-based programming check Windmill AI.

To integrate OpenAI to Windmill, you need to save the following elements as a resource.

PropertyTypeDescriptionDefaultRequiredWhere to Find
api_keystringAPI key for OpenAItrueOpenAI Dashboard > API Keys > Create new key or view existing keys
organization_idstringOnly needed for users who belong to multiple organizations and want to use an organization other than defaultfalseOpenAI Dashboard > Account Settings > Organizations > Organization ID


Your resource can be used passed as parameters or directly fetched within scripts, flows and apps.


Example of a Supabase resource being used in two different manners from a script in Windmill.


tip

Find some pre-set interactions with OpenAI on the Hub.

Feel free to create your own OpenAI scripts on Windmill.