Overview
OpenAI can be connected in two ways:- API key
- ChatGPT subscription
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:| Field | Value |
|---|---|
apiKey | OpenAI 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:- Open the verification link.
- Enter the device code.
- Approve access in ChatGPT.
Official References
The ChatGPT subscription notes above are based on the currentdevice-authorization implementation. OpenAI’s public docs currently document API-key setup much more directly than this device-code flow.