Generate the key in OpenAI
- Go to platform.openai.com/api-keys and sign in.
- Click Create new secret key.
- Give the key an optional name.
- Under Permissions, leave All selected.
- Click Create secret key.
- Copy the generated token (starts with
sk-) and store it somewhere safe. You will not be able to see it again.
Use the key on the platform
The key can be entered in two places:
- Company: Left menu > Admin > Companies > pencil icon > OpenAI field. Paste the token and save.
- AI Agent: Left menu > Modules > Automation > Agents > pencil icon > Agent API token field. Paste the token and save.
If the key is exposed, revoke it at platform.openai.com/api-keys and generate a new one.