Documentation Index
Fetch the complete documentation index at: https://portkey-docs-feat-claude-platform-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Enterprise Self-Hosted Deployment
On the Enterprise plan? See the Helm documentation for assumed role setup in self-hosted deployments.
Enable Outbound Web Identity Federation
Select Assumed Role Authentication
Create a new integration on Portkey:- Go to Model Catalog β Add Provider
- Select Claude Platform on AWS
- Choose AWS Assumed Role as the authentication method
Create an IAM Permission Policy
Create a permission policy in your AWS account. Claude Platform on AWS uses theaws-external-anthropic IAM namespace (not bedrock).
Inference-only policy
For workloads that only need chat completions and token counting:Full access policy
For workloads that also need batch processing and file management:To restrict access to a specific workspace and region, replace the
Resource with:| Managed Policy | Scope |
|---|---|
AnthropicFullAccess | All aws-external-anthropic:* actions |
AnthropicInferenceAccess | Inference + read-only actions |
AnthropicReadOnlyAccess | Get*, List*, CallWithBearerToken |
Create an IAM Role
- Open the IAM Console and go to Roles β Create role
- Choose AWS account as the trusted entity type
- Optionally set an external ID β copy it for later
- Attach the permission policy created above
- Name the role (e.g.,
portkey-claude-platform-role) and create it
Configure the Trust Relationship
Open the role, navigate to the Trust relationships tab, and click Edit trust policy. Add Portkeyβs AWS account as a trusted principal:Portkey Account ARN
This ARN is for the hosted Portkey app. For enterprise self-hosted deployments, refer to the Helm documentation.
Trust policy without external ID
Trust policy with external ID
Configure the Integration
Back in Portkey, enter the following in the Claude Platform on AWS integration modal:| Field | Value |
|---|---|
| Role ARN | The ARN of the role you created (e.g., arn:aws:iam::123456789012:role/portkey-claude-platform-role) |
| External ID | The external ID you set (if any) |
| AWS Region | The region for your workspace (e.g., us-west-2) |
| Anthropic Workspace ID | Your workspace ID (optional, format: wrkspc_01AbCdEf23GhIj) |
aws-external-anthropic service name.
Verify the Setup
Test the integration with a simple request:cURL
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
Outbound web identity federation is disabled | Federation not enabled on the AWS account | Run aws iam enable-outbound-web-identity-federation |
Access denied / not authorized to perform | Missing IAM permissions | Verify the permission policy includes the required aws-external-anthropic:* actions |
Invalid signature | Incorrect region or credentials | Confirm the region matches your workspace and the role ARN is correct |
Trust policy error | Portkey ARN not in trust policy | Add arn:aws:iam::299329113195:role/portkey-app as a trusted principal |

