Get a Demo - Build, run, and use AI with confidence.
Using Pillar with Portkey
1. Add Pillar API Key to Portkey
- Navigate to the
Integrationspage underSettings - Click on the edit button for the Pillar integration and add your API key
2. Add Pillarâs Guardrail Check
- Now, navigate to the âGuardrailsâ page
- Search for Pillarâs Guardrail Checks
Scan PromptorScan Responseand click onAdd - Pick the info youâd like scanned and save the check.
- Set any actions you want on your check, and create the Guardrail!
Your Pillar Guardrail is now ready to be added to any Portkey request youâd like!
3. Add Guardrail ID to a Config and Make Your Request
- When you save a Guardrail, youâll get an associated Guardrail ID - add this ID to the
before_request_hooksorafter_request_hooksparams in your Portkey Config - Save this Config and pass it along with any Portkey request youâre making!
Get Support
If you face any issues with the Pillar integration, just ping the @Pillar team on the community forum.Portkey is now PRISMA AIRS AI Gateway. See it in action.
Contact Us

