---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/intelligent-experiences

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Configure API credentials for OpenAI

# Configure API credentials for OpenAI {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Configure your API credentials to use OpenAI in custom workflows and Virtual Agent Designer topics.

## Antes de Iniciar

To use the OpenAI and Azure OpenAI large language models (LLMs), you must configure your credentials to use the Generative AI Controller capabilities.

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

In order to use models with Azure OpenAI as your LLM provider
for Generative AI Controller capabilities, you must have an active connection configured.

## Procedimento

1. Navigate to AllConnections \& CredentialsConnections \& Credential Aliases.
2. Open the Generative AI provider record for OpenAI.
3. Select the Create New Connection \& Credential related link.  
4. In the API key field, enter the API key.  
   For OpenAI, see your [OpenAI API keys](https://platform.openai.com/account/api-keys) for the credentials information.
5. Create a connection by selecting Create.

## Resultado

You can now use capabilities labeled with OpenAI in
Flow Designer, Virtual Agent Designer, and scripts like background scripts and business rules to create custom experiences with generative AI.

## O que Fazer Depois

If you want to use generative AI capabilities through your MID Server, open the new Connection record, select the Use MID server check box, and save the record.

