Getting Started with AI Guard
AI Guard uses configurable detection policies (called recipes) to identify and block prompt injection, enforce content moderation, redact PII and other sensitive data, detect and disarm malicious content, and mitigate other risks in AI application traffic. Detections are logged in an audit trail, and webhooks can be triggered for real-time alerts.
This guide walks you through the steps to quickly set up and start using AI Guard. You'll learn how to sign up for a free Pangea account, enable the AI Guard service, and integrate it into your application. The guide also includes examples of how to detect and eliminate risks in user interactions with your AI app.
No prior knowledge is required to follow this guide; you only need a free Pangea account to start using AI Guard APIs.
Get a free Pangea account and enable the AI Guard service
- Sign up for a free Pangea account .
- After creating your account and first project, skip the wizards to access the Pangea User Console.
- Click AI Guard in the left-hand sidebar to enable the service.
- In the enablement dialogs, accept defaults, click Next, then Done, and finally Finish to open the service page.
- On the AI Guard Overview page, note the Configuration Details, which you can use to connect to the service from your code. You can copy individual values by clicking on them.
- Follow the Explore the API links in the console to view endpoint URLs, parameters, and the base URL.
