# AWS

{% hint style="info" %}
Integrate with AWS to connect all your cloud logs to ClearInsights.
{% endhint %}

### AWS Account and Access Keys

1. Open the IAM console at <https://console.aws.amazon.com/iam/>.
2. On the navigation menu, choose Users.
3. Choose your IAM user name (not the check box).
4. Open the Security credentials tab, and then choose Create access key.
5. To see the new access key, choose Show. Your credentials resemble the following:
   * Access key ID: `AKIAIOSFODNN7EXAMPLE`
   * Secret access key: `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`
6. To download the key pair, choose Download .csv file. Store the .csv file with keys in a secure location.

{% embed url="<https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html>" %}

{% hint style="info" %}
**Important**

* Keep the keys confidential to protect your AWS account, and never email them. Do not share them outside your organization, even if an inquiry appears to come from AWS or Amazon.com. *No one who legitimately represents Amazon will ever ask you for your secret key.*
* You can retrieve the secret access key *only* when you initially create the key pair. Like a password, you can't retrieve it later. If you lose it, you must create a new key pair.

{% endhint %}

### Granting Access To CloudWatch

The user in which you're creating the Access Key for as shown above must also have access to retrieve data from CloudWatch logs.

{% embed url="<https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/auth-and-access-control-cwl.html>" %}


---

# 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.clearinsights.io/clearinsights-integrations/cloud-management-integrations/aws.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.
