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

<Steps>
  <Step title="Create a new user">
    Login to your AWS console and go to IAM > Users > Create user. Type in user name, in this case `unsend`

    <img src="https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-1.png?fit=max&auto=format&n=Rec2gO3NLCb9uLZA&q=85&s=ee77125404d143742fd60f1a93abeb77" alt="create user" width="3216" height="1114" data-path="images/aws/key-1.png" />
  </Step>

  <Step title="Set permission and create">
    Search for `AmazonSNSFullAccess` and `AmazonSESFullAccess` and check the checkboxes. Then proceed to create the user.

    <img src="https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-2.png?fit=max&auto=format&n=Rec2gO3NLCb9uLZA&q=85&s=e516f283b17140ce1e3afdd91541e243" alt="set permission" width="3216" height="1726" data-path="images/aws/key-2.png" />
  </Step>

  <Step title="Create access key">
    Click on the created user and click on the `Create access key` button.

    <img src="https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-3.png?fit=max&auto=format&n=Rec2gO3NLCb9uLZA&q=85&s=02932b8a284b593e0a498498c8c297f3" alt="create access key" width="3216" height="1726" data-path="images/aws/key-3.png" />

    <img src="https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-4.png?fit=max&auto=format&n=Rec2gO3NLCb9uLZA&q=85&s=fdb9f1088857ec683b6c57bb3ab5b4fd" alt="option and create" width="3216" height="1726" data-path="images/aws/key-4.png" />

    <img src="https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-5.png?fit=max&auto=format&n=Rec2gO3NLCb9uLZA&q=85&s=ec052697daed8a345ce97a93ceee9400" alt="description" width="3216" height="1726" data-path="images/aws/key-5.png" />
  </Step>

  <Step title="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>
    ```

    <img src="https://mintcdn.com/ossapps/Rec2gO3NLCb9uLZA/images/aws/key-6.png?fit=max&auto=format&n=Rec2gO3NLCb9uLZA&q=85&s=bb1e2c720a4aec210901ad7bb19e40dd" alt="create access key" width="3216" height="1726" data-path="images/aws/key-6.png" />
  </Step>
</Steps>
