# Adding AWS Accounts

1. Add SAML.to as an Identity Provider in the desired AWS Account
   1. Navigate to [AWS Identity Providers](https://console.aws.amazon.com/iamv2/home#/identity_providers)
   2. Click **Add Provider**
      1. **Provider type**: SAML
      2. **Provider name**: saml.to
      3. **Metadata document**: [Download from SAML.to](https://saml.to/metadata)
      4. Make note of the **Provider ARN**
2. [Add a Role with a Trust Relationship](/configuration/service-providers/aws-federated-roles/adding-roles.md) to the new Identity Provider in AWS IAM


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.saml.to/configuration/service-providers/aws-federated-roles/adding-aws-accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
