Guardrails allow you to create custom rules that protect and guide how your connections are used. These rules can be applied to specific connections or serve as default policies across your organization.

Creating a Guardrail

1

Access Guardrails

Navigate to the Guardrails section from the sidebar menu

2

Create New

Click the “Create a new Guardrail” button in the top-right corner

3

Set Basic Information

Provide:

  • Name for the guardrail
  • Description (Optional) explaining its purpose
4

Configure Rules

Provide:

  • Input Rules
  • Output Rules

Configuring Rules

Input Rules

Rules that evaluate incoming commands or queries:

  • Pattern Matching: Define patterns to match specific commands or queries
  • Conditions: Set conditions that trigger the rule

Output Rules

Rules that control or modify the output of commands:

  • Information Control: Control what information can be returned

Rule Types

Applying Guardrails

Connection Assignment

1

Select Connections

Choose which connections will use the guardrail

2

Set Priority

Define the order of rule evaluation when multiple guardrails apply

3

Configure Behavior

Specify how rules should be enforced:

  • Block non-compliant actions
  • Warn users
  • Require approval

Best Practices

Start Simple

Begin with basic rules and expand as needed

Test Rules

Validate rules in a test environment first

Document Purpose

Clearly describe what each rule does

Regular Review

Periodically review and update rules

Learn More