> For the complete documentation index, see [llms.txt](https://docs.sendwithses.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sendwithses.com/how/aws-setups/how-to-generate-aws-keys-for-sending-emails-programmatically-via-simple-email-service-ses.md).

# Generate AWS Keys.

DEPRECATED.

{% 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

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpGOxAmQUl5uH66XdC%2F1.png?alt=media\&token=132a3969-6a38-4423-8036-11c58c241b9c)

### 2

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-Lo5JLx3I5A1yYoFGwH5%2F-Lo5JO_ivbVtkor5U4V4%2F2_.png?alt=media\&token=cc042216-492e-4e85-b3ca-66bca0fb11aa)

### 3

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpGbxAtTB5eWrdXe5E%2F3.png?alt=media\&token=3e8473a5-ecef-4da5-939b-4f9d701af72e)

### 4

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpGhjHaNmBB2V3aoON%2F4.png?alt=media\&token=7756505d-4da8-476a-9464-bc2593ac7706)

### 5 Attach SES Policy

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpGwIJTSZcBd6-bxWG%2F5.png?alt=media\&token=8032f6d0-d5d9-49a2-b168-ae38e01de464)

### 6 Attach SNS Policy

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpGpWpbcjpw27tH61Y%2F6.png?alt=media\&token=dee42bcb-f2d8-43bf-b3cc-f74f65b8f5c7)

### 7 Attach SQS Policy

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpH3OBXBZExmBu16R0%2F7.png?alt=media\&token=1b477191-8d75-420d-b125-5ff0e9cff29e)

### 8 Attach S3 Policy

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpH9bx4pAE2HHrxL1X%2F8.1.png?alt=media\&token=d56fbfb3-5820-485f-ba45-fa65d6defc82)

### 9&#x20;

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpHGzGf_h5tVOqONXH%2F10.png?alt=media\&token=7d9f3ebc-58af-4ac3-bb3f-0e741d3306d0)

### 10

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpHP_iYC6NJmIsL_zV%2F11.png?alt=media\&token=c98be62e-7a9c-4b2c-b523-b7a39f634fc7)

### 11

![](https://1895149818-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUFI_-_gHZ4pIVzoRlq%2F-LjpG-TOUO-5ovVEz0O7%2F-LjpHYYBrcMcVQUiddFy%2F12.png?alt=media\&token=22d2f0c3-8b4a-4a35-b07b-52c3098dc13d)

{% 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>**
