# Quick AWS Setup

Source: https://wraps.dev/docs/guides/aws-setup/quick

# AWS Quick Start

For users with existing AWS CLI configured. Verify your setup and deploy in under 2 minutes.

2 min

## 

1

Verify Your AWS Setup

Confirm your AWS CLI is configured and credentials are working:

terminal.sh

```
aws sts get-caller-identity
```

You should see your account ID, user ID, and ARN. If you get an error, see the [troubleshooting guide](https://wraps.dev/docs/guides/aws-setup/troubleshooting).

## 

2

Deploy Email Infrastructure

Run the init command to deploy Wraps to your AWS account:

terminal.sh

```
npx @wraps.dev/cli email init
```

The wizard will guide you through choosing your hosting provider, region, and configuration preset.

## Required Permissions

The CLI needs permissions to create IAM roles, SES configuration, DynamoDB tables, Lambda functions, and SQS queues. If you can't use AdministratorAccess, here's the minimum required policy:

View IAM Policy JSON

▼

policy.json

```
{  "Version": "2012-10-17",  "Statement": [    {      "Effect": "Allow",      "Action": [        "ses:*",        "iam:CreateRole",        "iam:CreatePolicy",        "iam:AttachRolePolicy",        "iam:PutRolePolicy",        "iam:GetRole",        "iam:PassRole",        "iam:DeleteRole",        "iam:DeleteRolePolicy",        "iam:DetachRolePolicy",        "iam:CreateOpenIDConnectProvider",        "iam:DeleteOpenIDConnectProvider",        "iam:GetOpenIDConnectProvider",        "dynamodb:CreateTable",        "dynamodb:DeleteTable",        "dynamodb:DescribeTable",        "dynamodb:UpdateTimeToLive",        "lambda:CreateFunction",        "lambda:DeleteFunction",        "lambda:GetFunction",        "lambda:UpdateFunctionCode",        "lambda:UpdateFunctionConfiguration",        "lambda:AddPermission",        "lambda:CreateEventSourceMapping",        "lambda:DeleteEventSourceMapping",        "sqs:CreateQueue",        "sqs:DeleteQueue",        "sqs:GetQueueAttributes",        "sqs:SetQueueAttributes",        "events:PutRule",        "events:PutTargets",        "events:DeleteRule",        "events:RemoveTargets",        "events:DescribeRule"      ],      "Resource": "*"    }  ]}
```

## Having Issues?

Run our diagnostics tool to identify and fix common problems:

terminal.sh

```
npx @wraps.dev/cli aws doctor
```

## Quick Checklist

-   AWS CLI installed and configured
-   `aws sts get-caller-identity` returns your account
-   User has required permissions (AdministratorAccess or custom policy)
-   Run `npx @wraps.dev/cli email init`

## Next Steps

Verify Your Domain

Set up DKIM, SPF, and DMARC for better deliverability.

[Domain Setup](https://wraps.dev/docs/guides/domain-verification)

Production Access

Move out of sandbox mode to send to any recipient.

[Get Production Access](https://wraps.dev/docs/guides/production-access)
