Connect to AWS Guardrails
Create an Amazon Bedrock guardrail and access credentials in AWS, then configure the connection under Management → AI Guardrail → Connection in Analytics Agent.
Step 1 Create a Guardrail
- Open Amazon Bedrock and select the AWS Region you want to use.
- Go to Guardrails, create a guardrail, and configure the filters you need, such as denied topics, word filters, or sensitive information filters.
- Save the guardrail and note its region and guardrail ARN.

Step 2 Publish and Test a Version
- Open the guardrail's details page. In the Versions section, click Create version.
- Enter a description and confirm creation. Note the published version number, such as
1. - In the Test panel, select the published version instead of Working draft. Choose a test method appropriate for your guardrail rules, and configure a model if needed.
- Test with both allowed content and content that should be blocked. Confirm that the results match your rules before connecting the guardrail in the product.

Step 3 Grant Permission to Use the Guardrail
Create a dedicated IAM user with access to the guardrail. On the user's Permissions tab, create an inline policy and switch to the JSON editor. Enter the following policy, replace the Resource value with your guardrail's ARN, and save.

After saving, check the user's Permissions tab to confirm that the policy has been added.

Step 4 Create Access Keys
Open the IAM user's Security credentials → Access keys → Create access key. Complete the process and save the AK and SK.
Step 5 Connect in the Product
- In Analytics Agent, expand Management, select AI Guardrail, and open the Connection tab.
- Configure the connection with your Access Key ID (AK), Secret Access Key (SK), AWS region, Guardrail ARN, and published Guardrail version (for example,
1). - Test the connection and save the configuration.
- Use the table below to check your connection settings and the status shown on the Connection tab:

| Item | Expected Value | Description and Where to Find It |
|---|---|---|
| Name | Amazon Bedrock Guardrails | The guardrail service shown on the Connection tab. |
| Access Key ID (AK) | The access key ID of your dedicated IAM user. | Create it under IAM → Users → Select your user → Security credentials → Create access key (Step 4). |
| Secret Access Key (SK) | The secret access key paired with the AK. | Save it when you create the access key in Step 4. You can view or download it only at creation; if you lose it, create a new access key. |
| AWS region | The region code for your guardrail, such as ap-southeast-2. | Use the AWS Region selected when creating the guardrail in Step 1. |
| Guardrail ARN | The full ARN of your guardrail. | Copy it from the guardrail's details page under Amazon Bedrock → Guardrails (Step 1). |
| Guardrail version | The published version number, such as 1. | Use the version created under Versions → Create version in Step 2, rather than the working draft. |
| AI Guardrail | Enabled when protection is enabled. | Check the protection status on the Connection tab. |
Use Edit to update the connection settings. Check the Execution policy tab to configure input and/or output checks, then use Protection test to verify allowed and blocked content.
In an API response, HTTP 200 indicates a successful request, while GUARDRAIL_INTERVENED indicates that the guardrail detected matching content and took action.

If the connection fails, check that the AK and SK are a matching pair, the IAM permissions are correct, and the region, ARN, and version are consistent.
Related Documentation
- AI Guardrail — The AWS setup in this guide is specifically for the AI Guardrail feature in Analytics Agent. See this document to configure checkpoints, test protection, and review audit logs.
- Configuration Guide — Follow the setup workflow for data sources, models, analysis domains, and the semantic layer, with links to operations and governance guides.
- Model Selection and Configuration — Configure the models available to your team and learn how to switch models in a conversation.
- Analytics Agent Permission Management — Configure accounts, roles, analysis domain access, and row-level permissions to control access to features and data.
