Configure AI

All AI features in Guardrails are configured from a single settings page. In this guide, you will set up an AI provider, enter credentials, and enable the individual AI features you want to use.

This is the starting point for all AI-powered capabilities, including Intelligent Assessment, Intelligent Fixes, Chat, and Policy Pack Summary. Complete these steps before using any AI feature.

Prerequisites

Step 1: Navigate to AI Settings

Go to Integrations in the left sidebar, then open the AI integration. This opens AI Configuration with a tab for each feature.

AI configuration tab

Step 2: Enable AI Features

Toggle the Enabled switch to turn on AI capabilities for your workspace. This is the master toggle that controls whether any AI features are available.

Step 3: Select an AI Provider

Choose your AI provider from the Provider dropdown. Guardrails supports four providers, each with different configuration fields.

Provider dropdown

ProviderRequired FieldsNotes
AWS BedrockInference Profile (text)API Key is optional. If not provided, Guardrails uses IAM credentials for authentication.
AnthropicModel (text), API KeyKey typically starts with sk-ant-. Obtain from the Anthropic console.
Azure OpenAIResource Name (text), Deployment (text), API KeyResource Name is your Azure OpenAI resource name. Deployment is the model deployment you created in Azure.
OpenAIModel (text), API KeyKey typically starts with sk-. Obtain from the OpenAI platform.

Available Models

The model selection depends on your provider:

When no model is set, Guardrails uses Claude Haiku 5.5 on Turbot Enterprise (TE) 5.60.11 or later with the @turbot/turbot mod 5.61.1 or later, and Claude Haiku 4.5 on earlier versions.

[!NOTE] On AWS Bedrock, your IAM policies and service control policies (SCPs) must allow the model you use, such as anthropic.claude-haiku-5-5 for Claude Haiku 5.5. The model must also be enabled for your AWS account. Bedrock enables a model on its first call only if the caller is allowed aws-marketplace:Subscribe and aws-marketplace:ViewSubscriptions. If the role or API key that Guardrails uses doesn't have them, call the model once as an administrator, for example in the Bedrock console playground.

[!TIP] Higher-tier models generally provide more accurate and detailed assessments. Use the latest model versions when possible for optimal results.

Step 4: Enter Provider Credentials

Fill in the required fields for your selected provider. For providers that require an API key, enter it in the API Key field.

[!IMPORTANT]

Step 5: Save Configuration

Click Save to apply your provider configuration. Guardrails will validate the settings and confirm the save.

Step 6: Enable Individual Features

After saving the provider configuration, visit each feature tab to enable the specific AI capabilities you want:

Each tab has an Enabled toggle and, where applicable, a customizable System Prompt that controls how the AI behaves for that feature.

Chat feature tab

Toggle each feature on and optionally customize its system prompt, then click Save.

Next Steps

With AI configured, explore the individual feature guides:

Policies Set by This Configuration (Advanced)

The AI settings UI manages several underlying Guardrails policies. You typically do not need to set these directly, but they are documented here for reference.

Configuration policies:

Policy TypeDescription
Turbot > AI > Configuration > Provider [Default]The selected AI provider (e.g., anthropic, openai, aws_bedrock, azure_openai).
Turbot > AI > Configuration > Anthropic > ModelThe Anthropic model selection.
Turbot > AI > Configuration > Anthropic > API KeyThe Anthropic API key.
Turbot > AI > Configuration > OpenAI > ModelThe OpenAI model selection.
Turbot > AI > Configuration > OpenAI > API KeyThe OpenAI API key.
Turbot > AI > Configuration > AWS Bedrock > Inference Profile IDThe AWS Bedrock inference profile.
Turbot > AI > Configuration > AWS Bedrock > API KeyThe AWS Bedrock API key (optional).
Turbot > AI > Configuration > Azure OpenAI > Resource NameThe Azure OpenAI resource name.
Turbot > AI > Configuration > Azure OpenAI > API KeyThe Azure OpenAI API key.
Turbot > AI > Configuration > Azure OpenAI > DeploymentThe Azure OpenAI deployment name.

Feature toggle policies:

Policy TypeDescription
Turbot > AI > Feature > Enabled [Default]Master toggle for all AI features.
Turbot > AI > Control > Intelligent Assessment > EnabledEnables the Intelligent Assessment feature.
Turbot > AI > Control > Intelligent Fixes > EnabledEnables the Intelligent Fixes feature.
Turbot > AI > Feature > Chat > EnabledEnables the Chat feature.
Turbot > AI > Feature > Policy Pack Summary > EnabledEnables the Policy Pack Summary feature.

System prompt policies:

Policy TypeDescription
Turbot > AI > Control > Intelligent Assessment > System PromptCustom system prompt for Intelligent Assessment.
Turbot > AI > Control > Intelligent Fixes > System PromptCustom system prompt for Intelligent Fixes.
Turbot > AI > Feature > Policy Pack Summary > System PromptCustom system prompt for Policy Pack Summary.

Troubleshooting

IssueDescriptionResolution
AI features not appearingThe master Enabled toggle may be off, or individual feature toggles are disabled.Verify the master toggle is on in Integrations > AI, then check each feature tab.
API key errorsInvalid or expired API key for the selected provider.Verify the key is correct and has not been revoked. Rotate keys if needed.
Model not respondingThe selected model may be unavailable or your provider account may have usage limits.Check your provider's dashboard for service status and quota limits.
Further assistanceIf issues persist, please open a support ticket with relevant details.Open Support Ticket