> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usesend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create AWS credentials

> Step by step guide to create AWS credentials to self-host useSend.

**1. Create a new user**

Login to your AWS console and go to IAM > Users > Create user. Type in user name, in this case `unsend`

![create user](https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-1.png?fit=max\&auto=format\&n=Rec2gO3NLCb9uLZA\&q=85\&s=ee77125404d143742fd60f1a93abeb77)

**2. Set permission and create**

Search for `AmazonSNSFullAccess` and `AmazonSESFullAccess` and check the checkboxes. Then proceed to create the user.

![set permission](https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-2.png?fit=max\&auto=format\&n=Rec2gO3NLCb9uLZA\&q=85\&s=e516f283b17140ce1e3afdd91541e243)

**3. Create access key**

Click on the created user and click on the `Create access key` button.

![create access key](https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-3.png?fit=max\&auto=format\&n=Rec2gO3NLCb9uLZA\&q=85\&s=02932b8a284b593e0a498498c8c297f3)

![option and create](https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-4.png?fit=max\&auto=format\&n=Rec2gO3NLCb9uLZA\&q=85\&s=fdb9f1088857ec683b6c57bb3ab5b4fd)

![description](https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-5.png?fit=max\&auto=format\&n=Rec2gO3NLCb9uLZA\&q=85\&s=ec052697daed8a345ce97a93ceee9400)

**4. Retrieve access key**

Copy the access key ID and secret access key to your `.env` file.

```env theme={null}
AWS_ACCESS_KEY_ID=<access-key-id>
AWS_SECRET_ACCESS_KEY=<secret-access-key>
```

![create access key](https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-6.png?fit=max\&auto=format\&n=Rec2gO3NLCb9uLZA\&q=85\&s=bb1e2c720a4aec210901ad7bb19e40dd)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.