Set up credentials
Sign in to the OpenAI platform
Go to platform.openai.com and sign in with an
account that has access to the organization you want to use.
Open the API keys page
Navigate to platform.openai.com/api-keys.
Create a new secret key
Click Create new secret key, give it a name, and confirm. Copy the key
immediately and store it somewhere safe.
The secret key is shown only once. If you lose it, create a new key and
delete the old one.
Find your organization and project IDs (optional)
In the platform settings, open Settings > Organization > General to find
your Organization ID, and Settings > Project > General (with the
project selected) to find your Project ID. These are only needed if you
belong to multiple organizations or want usage scoped to a specific project.
Connect to Adapt
Add your credentials
Enter the values you gathered above, then click Add connection:
You can rename the connection and choose whether it is shared with your
organization or kept personal to you.
| Secret Name | Value |
|---|---|
OPENAI_API_KEY | Your OpenAI API key |
OPENAI_ORG_ID | Your organization ID (optional) |
OPENAI_PROJECT_ID | Your project ID (optional) |
Security
- Credentials are encrypted at rest with AES-256
- Treat your API key like a password and rotate it if you suspect exposure
- Scope usage to a dedicated project to track and limit spend
- Never share your API key or commit it to source control