OpenAI Integration Setup¶ API Setup¶ Go to OpenAI and sign in to your account. Press "Create new secret key" to generate a new API key. Give it a name and All permissions then press "Create secret key". Copy the API key. EspoCRM Setup¶ Navigate to Administration -> Integrations -> OpenAI. Paste the API key obtained from OpenAI into API Key field. Choose the default model you want to use.