Set Up an OpenAI API Key for Practice
Practice uses your OpenAI API key for the AI features you choose. OpenAI bills API usage to your OpenAI account.
Create and store the key
- Sign in to the OpenAI Platform.
- Create or select the project used with Practice.
- Open API Keys, create a project key, and choose the permissions needed by Practice.
- Save the key in a password manager, system keychain, secret manager, or the
OPENAI_API_KEYenvironment variable.
Set billing controls
Open the project billing and usage settings. Add a payment method, choose a spending limit that matches your expected use, and enable usage alerts.
Connect and verify Practice
- Open Practice settings and enter the project key.
- Save the setting.
- Run one guided reflection.
- Confirm that Practice displays the result.
Replace a key
Create a new project key, update Practice and secret storage, verify one guided reflection, then revoke the earlier key in OpenAI Platform.