> 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.

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