Skip to main content

Overview

OpenAI can be connected in two ways:
  • API key
  • ChatGPT subscription
Use API key when the connection should access OpenAI through an API credential. Use ChatGPT subscription when the user should sign in interactively through ChatGPT instead. Model and reasoning capability policy for this target is managed at the target level rather than per connection.

Option 1: API Key

API key gives access to OpenAI through the API key you provide. Create an OpenAI API key, then connect in Mistle with:
FieldValue
apiKeyOpenAI API key

Option 2: ChatGPT Subscription

ChatGPT subscription gives access through an interactive ChatGPT sign-in flow instead of a user-entered API key. Open Integrations in the dashboard, choose OpenAI, then select ChatGPT subscription. The product starts a device-authorization flow and asks the user to:
  1. Open the verification link.
  2. Enter the device code.
  3. Approve access in ChatGPT.
No operator-managed OAuth client registration is exposed for this flow. The device-code flow is built into the current OpenAI integration implementation.

Official References

The ChatGPT subscription notes above are based on the current device-authorization implementation. OpenAI’s public docs currently document API-key setup much more directly than this device-code flow.