# Generate AWS Keys.

{% hint style="danger" %}

## IMPORTANT:

**The below section is only for users who have registered before 12-Nov-2019.**&#x20;

#### **New users (who have registered after 12-Nov-2019) will have to create an** [**AWS Role**](https://docs.sendwithses.com/how/aws-setups/create-aws-role) **instead of using AWS Keys.** Go here : <https://docs.sendwithses.com/getting-started>

{% endhint %}

### Login to your AWS Account Management Console (<https://aws.amazon.com/console/>). **If you do not have an account you can create one for free. For instructions see this link ‘**[**How to create a free AWS account**](https://sendwithses.gitbook.io/helpdocs/how/how-to-create-a-free-aws-account)**’.**

{% hint style="info" %}

### IMPORTANT: You will need to attach 4 policies (**SES, SNS, SQS, and, S3**) and then generate your AWS Keys. Follow Video or Text instructions given below.

{% endhint %}

### Video Instructions:

{% embed url="<https://youtu.be/oAMbuaigwfE>" %}

### Text Instructions:&#x20;

### 1

![](/files/-LjpGOxAmQUl5uH66XdC)

### 2

![](/files/-Lo5JO_ivbVtkor5U4V4)

### 3

![](/files/-LjpGbxAtTB5eWrdXe5E)

### 4

![](/files/-LjpGhjHaNmBB2V3aoON)

### 5 Attach SES Policy

![](/files/-LjpGwIJTSZcBd6-bxWG)

### 6 Attach SNS Policy

![](/files/-LjpGpWpbcjpw27tH61Y)

### 7 Attach SQS Policy

![](/files/-LjpH3OBXBZExmBu16R0)

### 8 Attach S3 Policy

![](/files/-LjpH9bx4pAE2HHrxL1X)

### 9&#x20;

![](/files/-LjpHGzGf_h5tVOqONXH)

### 10

![](/files/-LjpHP_iYC6NJmIsL_zV)

### 11

![](/files/-LjpHYYBrcMcVQUiddFy)

{% hint style="success" %}

### ----- RE-CHECK ----- Have you attached all 4 policies (**SES, SNS, SQS, and, S3**) ?

#### IF YES, YOU ARE GOOD TO GO: You can copy paste your AWS keys in [**Send With SES**](https://sendwithses.com) to start sending emails.

{% endhint %}

{% hint style="danger" %}
**SECURITY OF YOUR AWS KEYS:**\
Your AWS keys are encrypted both in transit and at rest. At any time, you can delete your keys, generate a new set of keys (using the same process as above) and input your new keys into Send With SES. You will not lose your data.

***It is recommended you periodically rotate your AWS Keys.***&#x20;
{% endhint %}

### **Need help? Write to <hello@sendwithses.com>**


---

# 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.sendwithses.com/how/aws-setups/how-to-generate-aws-keys-for-sending-emails-programmatically-via-simple-email-service-ses.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.
