# OpenAI

### Integrate OpenAI

1. Select *Resources* from your workspace menu and choose *Integrations* card
2. Click *Add integration* > Choose *OpenAI* from the *Type* dropdown
3. Provide a name for the integration
4. Log in to your [OpenAI account](https://platform.openai.com/api-keys)&#x20;
5. Enter the API key into NLX (referred to as your Service Account API key in your OpenAI account)

> Optional:
>
> * *Model name:* Select [a model](https://platform.openai.com/docs/models) for your OpenAI integration. Alternatively, you may specify the model while invoking the LLM in conversation using a [*Generative text* node](https://docs.nlx.ai/platform/nlx-platform-guide/flows-and-building-blocks/overview/nodes#generative-text) or managed integration of OpenAI on a [*Data request* node](https://docs.nlx.ai/platform/nlx-platform-guide/flows-and-building-blocks/overview/nodes#data-request)
>   * Popular models:
>     * GPT 5 Default: `gpt-5-2025-08-07`
>       * GPT 5 Mini: `gpt-5-mini-2025-08-07`
>       * GPT 5 Nano: `gpt-5-nano-2025-08-07`
>       * GPT 5 Chat: `gpt-5-chat-latest`
>       * o3 Pro: `o3-pro-2025-06-10`
>       * o4 Mini: `o4-mini-2025-04-16`

6. Click *Create Integration*

### Next steps

To successfully use your OpenAI integration with conversations created in your workspace, be sure to complete the following:

* [ ] create a [flow](https://docs.nlx.ai/platform/nlx-platform-guide/flows-and-building-blocks/overview)
* [ ] add a [*Generative* node type](https://docs.nlx.ai/platform/nlx-platform-guide/flows-and-building-blocks/overview/nodes#node-types) to the Canvas and assign *OpenAI* as the integration > Provide your prompt (follow instructions under *Side panel* tab of *Generative* node instructions)
* [ ] create a [build & deploy](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/types/core#deployment)
