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 enables ServiceNow customers to use their own API credentials from supported cloud AI providers—such as Azure OpenAI, Amazon Bedrock (Anthropic Claude), and Google Gemini—to execute Now Assist skills and AI agents. Instead of routing AI model requests through ServiceNow’s AI Platform, BYOK sends requests via the customer’s own cloud AI account. This ensures customers retain control over their AI configuration, security, and data processing environment while leveraging Now Assist capabilities.
Show less
Key Features
- Provider flexibility: Support for multiple cloud AI providers including Azure OpenAI, Anthropic Claude via Amazon Bedrock, and Google Gemini.
- Full control over API keys: Customers maintain ownership and control of their API credentials, keeping keys secure within their cloud environment.
- Seamless integration: BYOK supports the same AI models available on the ServiceNow AI Platform, enabling a consistent experience with your chosen provider.
- Custom configuration: Ability to map ServiceNow model aliases to specific provider models and override skill variants as needed.
- Monitoring and validation: Customers can verify that AI requests use their own provider account by reviewing outbound HTTPS logs.
- Provider-specific setup: Configuration steps vary by provider but generally involve creating credentials, enabling BYOK in Now Assist Admin, mapping models, and validating requests.
Practical Application for ServiceNow Customers
To use BYOK, customers must configure a connection between their ServiceNow instance and their chosen cloud AI provider by setting up API keys, endpoints, and regions. For example, with Azure OpenAI, customers must configure API credentials, define model and deployment names in the Generative AI Controller, customize prompts as desired, and switch the integration to use BYOK for AI processing.
Enabling BYOK allows customers to leverage their existing cloud AI investments, maintain compliance with internal security policies, and potentially optimize costs by managing AI usage directly with their cloud provider. However, customers should review their cloud AI provider’s pricing and terms before enabling BYOK to understand any additional charges.
Next Steps
- Follow provider-specific instructions available in the Now Support Knowledge Base to configure BYOK.
- Map ServiceNow models to your provider’s models and customize prompts if needed.
- Validate that AI requests are sent through your cloud AI account by checking HTTPS logs.
- Consider configuring custom resource paths for BYOK models to optimize 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 Manage Integration.