Bring your own key for third-party AI provider integration
Summarize
Summary of Bring your own key for third-party AI provider integration
The Bring Your Own Key (BYOK) feature allows ServiceNow customers to integrate their own API credentials from supported cloud AI providers—such as Azure OpenAI, Amazon Bedrock (Anthropic Claude), and Google Gemini—to run Now Assist skills and AI agents. This integration routes AI model requests through the customer’s cloud AI account instead of the ServiceNow AI Platform, enabling customers to maintain control over AI configuration, security, and data processing environments while leveraging Now Assist capabilities.
Show less
BYOK supports the same AI models as the default ServiceNow AI Platform, but uses the customer’s cloud resources to process AI requests. This approach keeps API keys under customer control and ensures AI workloads operate within their cloud environment. Customers should be aware that using their own cloud AI accounts might incur additional charges from those providers, so reviewing pricing and terms before enabling BYOK is important.
Key Features
- Supported cloud AI providers: Azure OpenAI, Anthropic Claude on AWS (via Amazon Bedrock), and Google Gemini.
- Configuration workflow: Establish API connection and credentials (e.g., endpoint, API key, region), enable BYOK in Now Assist Admin, map ServiceNow model aliases to provider model versions, optionally customize skill variants, and validate outbound requests.
- Provider-specific setup: For Azure OpenAI, configure API credentials, specify model and deployment names in Generative AI Controller, customize prompts, and switch to BYOK processing.
- Control and security: Customers keep ownership of API keys and control their AI data environment.
Practical Application for ServiceNow Customers
Enabling BYOK allows customers to leverage their existing cloud AI investments and security policies while integrating Now Assist’s AI capabilities. It provides flexibility in managing AI workloads, compliance, and cost controls by routing processing through their chosen cloud provider. Customers can customize model versions and prompts to better fit their organizational needs.
Before implementation, customers should:
- Review detailed configuration instructions specific to each cloud provider available in the Now Support Knowledge Base.
- Validate outbound HTTPS logs to confirm AI requests use their own cloud AI provider.
- Monitor cloud provider costs and policies related to AI usage.
The bring your own key (BYOK) feature enables you to use your own API credentials from supported cloud AI providers, such as Azure OpenAI, Amazon Bedrock, and Google Gemini, to run Now Assist skills and AI agents.
When BYOK is enabled, Now Assist sends model requests through your cloud AI provider account instead of ServiceNow AI Platform infrastructure. This approach lets you maintain ownership of your AI configuration, security controls, and data processing environment while continuing to use Now Assist capabilities.
ServiceNow integrated model providers
- Azure OpenAI
- Anthropic Claude on AWS, which is accessible through Amazon Bedrock
- Google Gemini
Configuring a BYOK connection with a cloud AI provider
- Create connection and credentials for the provider, such as endpoint, API key, and region.
- Enable BYOK for the provider in Now Assist Admin.
- Map ServiceNow model aliases to provider model versions. For example, map
gemini_large→ 2.5 Pro. - Optionally, override variants in each skill in Version Management.
- Validate that requests are using your AI provider account by reviewing outbound HTTPS logs.
For step-by-step instructions for each supported cloud AI provider, see Configure Bring Your Own Key (BYOK) for Now Assist and AI Agents [KB2666298] article in the Now Support Knowledge Base.
High-level BYOK configuration for Azure OpenAI
- Set up Azure OpenAI connection with your own key to use Azure OpenAI within your ServiceNow instance.
For more information, see Configure API credentials for Azure OpenAI.
- Configure your Azure OpenAI model and deployment name in Generative AI Controller so your ServiceNow instance can recognize and use it.
For more information, see Create a custom embedding model.
- Modify the prompt configuration to write your own prompts to send to the Azure OpenAI LLMs.
For more information, see Configure a generic large language model (LLM) connector.
- Switch providers to use BYOK for AI processing.
For more information, see .