OpenAI and Anthropic
CloudFlow supports Admin API connections for OpenAI and Anthropic. These connections let your flows call provider administration APIs to manage API keys, list users and projects, query usage analytics, and perform other organization-level operations.
OpenAI and Anthropic Admin API connections are available under early preview. To request access, submit a support request.
Admin API connections are independent of the OpenAI and Anthropic billing integrations available in the Integrations catalog. Billing integrations ingest cost and usage data into DoiT Cloud Intelligence, while Admin API connections give CloudFlow flows the ability to call provider management endpoints directly.
Admin API connections can perform organization-wide administrative actions, including destructive operations and operations that return plaintext credentials. Review the capabilities granted by each key before creating a connection.
Required permissions
To create an Admin API connection, your DoiT account must have the CloudFlow Manager permission. To test, rotate, add, or remove credentials on an existing connection, you must also have Owner or Editor access to that connection. See CloudFlow permissions and connection access levels.
Supported providers
| Provider | Credential slots | Capabilities verified at connection time |
|---|---|---|
| OpenAI | Admin API key (required) | Manage admin API keys, list users, list projects |
| Anthropic | Claude Code / Admin API key and Enterprise Analytics API key (at least one required) | Manage API keys, list users, list workspaces, read analytics cost reports |
These capabilities are verified when CloudFlow validates the credential. In the CloudFlow builder, action nodes can call the full Admin API operation catalog for the provider when the stored key has sufficient permissions.
Create an Admin API connection
The connection wizard is a single-step form. The fields differ slightly between OpenAI and Anthropic.
-
Sign in to the DoiT console, select Automation and operations from the top navigation mega menu, and then select CloudFlow.
-
From the sidebar, select Connections.
-
Select the OpenAI or Anthropic tab for the provider you want to connect.
-
Select Create connection.
-
In Connection name, enter a unique name for this connection.
-
Enter the API credentials for the provider:
-
OpenAI: In OpenAI Admin key, enter your OpenAI Admin API key. This field is required.
-
Anthropic: Enter at least one of the following keys:
-
Claude Code / Admin API key: Grants access to organization management operations such as managing API keys, listing users, and listing workspaces.
-
Enterprise Analytics API key: Grants read-only access using the
read:analyticsscope.
-
-
-
If you entered an Admin API key (required for OpenAI; optional for Anthropic), select the checkbox to confirm that the key has the write permissions required by the CloudFlow operations you plan to use.
-
Select Create connection. CloudFlow validates the credentials against the provider's API and displays the connection details on success.
-
Review the connection details. The confirmation view shows:
- Organization: The name of your provider organization.
- Organization ID: The provider's organization identifier.
- Capabilities: The operations available through this connection, based on the permissions granted to the key.
-
Select Done to return to the connections list.
Manage credentials
After creating an Admin API connection, you can test, rotate, add, and remove credentials from the connection overview.
-
Sign in to the DoiT console, select Automation and operations from the top navigation mega menu, and then select CloudFlow.
-
From the sidebar, select Connections.
-
Select the OpenAI or Anthropic tab.
-
Select the connection you want to manage. The connection overview displays a card for each credential slot.
Each credential card shows the credential status, organization name, organization ID, capabilities, and the timestamp when the credential was last validated.
Test a stored credential
To verify that a stored credential is still valid, select Test stored key on the credential card. CloudFlow calls the provider API and displays the result.
Rotate a credential
To replace an existing credential with a new key:
-
On the credential card, select Rotate key.
-
In the dialog, enter the new key.
-
If rotating an Admin API key, select the checkbox to confirm that the key has the required write permissions.
-
Select Rotate key. CloudFlow validates the new credential and replaces the stored key.
Add a credential (Anthropic only)
Anthropic connections support two independent credential slots. If you created the connection with only one key, you can add the other later.
-
On the credential card that shows Not configured, select Add key.
-
In the dialog, enter the API key.
-
If adding an Admin API key, select the checkbox to confirm that the key has the required write permissions.
-
Select Add key.
Remove a credential (Anthropic only)
You can remove a single credential from an Anthropic connection, provided the other credential slot is still configured. An Anthropic connection must always have at least one active credential.
-
On the credential card, select Remove key.
-
In the confirmation dialog, select Remove. The credential is removed and any CloudFlow operations that depend on it are no longer available.
If only one credential is configured, the Remove key button is disabled. Add the other credential before removing the existing one.
Use Admin API connections in flows
After creating an Admin API connection, you can select it in the CloudFlow builder when configuring OpenAI or Anthropic action nodes. For general information on assigning connections to nodes, see Use connections.