Fast Path
- Open the Averta Dashboard.
- Go to API Keys.
- Create a key for the environment or agent you are integrating.
- Attach the policy you want to enforce.
- Copy the secret immediately.
- Set it as
AVERTA_API_KEYin your app. - Run one guarded request and confirm an event appears.
Runtime Usage
Table Fields
Use names and prefixes that make Events easy to investigate. A key named
prod-support-agent is more useful than new key.
Policy Attachment
A key without a policy is not ready for normal runtime enforcement. Attach a policy before using the key in an SDK integration. You can change the attached policy without changing application code, which is the reason policy attaches to the key instead of being hardcoded in the app.Recommended Key Strategy
Do not share one catch-all key across every agent. It makes event investigation harder and policy changes riskier.
Troubleshooting
Access
Deleting a key revokes it immediately. Any integration still using that secret will stop making Averta decisions.
Next Steps
Policies
Create and tune the policy attached to this key.
Events
Confirm the key is producing runtime decisions.