Enter the OpenAI API key
Store the provider credential used to construct the OpenAI client.
Exact navigationAdmin Area → Setup → Settings → AI → OpenAI
Before you begin
- Use an account with Settings: Edit and confirm the intended record or setting before making a change.
- Follow the exact route above. If the screen or action is absent, check module activation, ownership and permissions rather than using another person’s account.
- Use controlled test data for configuration, integration, email, AI, payment, portal or automation changes before production-wide use.
What this guide covers
Store the provider credential used to construct the OpenAI client. The instructions reflect the supplied module’s registered menus, controller actions, views, settings and code-backed validation flow.
Exact step-by-step process
- Open Admin Area → Setup → Settings → AI → OpenAI.
- Select the exact record or option described in this guide.
- Complete the displayed fields or action using the rules below.
- Save or submit once and resolve any validation response.
- Verify the resulting record, status, file, notification or integration effect.
Fields, choices and supported possibilities
OpenAI API keyPassword-type settings field; the stored value is supplied to OpenAI::factory()->withApiKey().
HTTP headersThe provider sends Content-Type: application/json and Accept: application/json.
VerificationSave, then run a controlled AI request; a bad or missing key is surfaced through the provider error path.
Code-backed validations and workflow rules
- The module does not implement key generation, expiry, rotation or usage metadata.
- Treat the setting as a secret and restrict access to settings administrators.
Expected result and verification
- The supported enter the openai api key flow completes without bypassing permission or validation checks.
- The resulting record, setting, status, file, delivery event or external response is visible from the relevant workspace.
- Unexpected validation, provider or linked-record errors are investigated before retrying.
Security, privacy and operational checks
- Restrict the API key and AI settings to authorised administrators.
- Do not submit confidential, special-category or unnecessary personal data to the external AI provider.
- Review generated text before using it in customer, staff, legal, financial or compliance communication.
- Monitor provider billing and retention independently because this module has no built-in cost dashboard.
