pw ai providers create
pw ai providers create
Create an AI provider
Synopsis
The pw ai providers create command creates a new AI provider from an enabled platform catalog entry. The platform defines the provider type, endpoint, and transport policy.
For API-key providers (openai, anthropic, grok, groq, together, fireworks, mistral, deepseek, or an approved custom integration), --api-key is required. For azure-foundry providers, --region, --group, and --network are required. For bedrock providers, --region, --group, and --cloud-account are required; credentials come from the cloud account rather than a network.
pw ai providers create [flags]Examples
pw ai providers create --name my-grok --provider grok --api-key xai-xxx
# Provision an Azure AI Foundry provider
pw ai providers create --name my-azure --provider azure-foundry --region eastus --group my-group --network my-network
# Connect Bedrock in an AWS cloud account
pw ai providers create --name my-bedrock --provider bedrock --region us-east-1 --group my-group --cloud-account my-aws-accountOptions
--api-key string API key (required for API-key providers)
--cloud-account string Cloud account supplying credentials (required for bedrock)
--group string Billing group (required for azure-foundry and bedrock)
-h, --help help for create
--model string Initial model deployment (azure-foundry)
--name string Provider name (required)
--network string Network (required for azure-foundry)
--provider string Catalog entry ID (required, e.g. openai, anthropic, grok, azure-foundry)
--region string Region (required for azure-foundry and bedrock)Options inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
-v, --verbose Enable verbose loggingSEE ALSO
- pw ai providers - Manage AI providers