# Connect AWS

Source: https://skro.eu/docs/deploy-website/aws-api-integration

Connect an AWS account to Skro for static website deployment using Amazon S3, CloudFront, and Certificate Manager.

The AWS integration lets Skro deploy static websites to your AWS account. Before connecting it, review the [website deployment overview](/docs/deploy-website/about-aws-deployment) and prepare credentials for the integration.

## Before you begin [#before-you-begin]

You need an AWS account and an administrator who can configure programmatic access. Skro’s integration form requires an access key ID and secret access key.

Use a dedicated IAM user with permissions limited to the deployment operations you require. AWS recommends avoiding root-user access keys and applying least-privilege permissions. See [AWS access key guidance](https://docs.aws.amazon.com/IAM/latest/UserGuide/securing_access-keys.html) and [IAM best practices](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html).

<Steps>

## Step 1. Prepare AWS access [#step-1-prepare-aws-access]

1. Sign in to the [AWS Management Console](https://console.aws.amazon.com/).
2. Have your administrator configure a dedicated IAM user for the Skro integration, with access to the resources used for website deployment.
3. In **IAM → Users**, select that user and open **Security credentials**.
4. Create an access key and securely save the access key ID and secret access key.

Follow [AWS’s instructions for managing an IAM user’s access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/access-keys-admin-managed.html). The secret access key is available when the key is created.

## Step 2. Add the integration in Skro [#step-2-add-the-integration-in-skro]

1. In Skro, open **Settings → Integrations**.
2. Find the **Servers - Deploy Websites** section and select **Add**.

![Add an AWS integration in Skro](/images/docs/aws-integration-5.png)

3. Select **AWS**.
4. Enter the AWS access key ID and secret access key prepared for the integration.
5. Select **Save & Close**.

![Configure the AWS credentials in Skro](/images/docs/aws-integration-6.png)

## Step 3. Configure a website domain [#step-3-configure-a-website-domain]

After saving the integration, add the domain you want to use and complete the SSL certificate setup.

<Cards>
  <Card title="Configure a domain and SSL certificate" href="/docs/deploy-website/how-to-setup-domain-to-get-ssl-certificate" />
  <Card title="Deploy a website" href="/docs/deploy-website/how-to-deploy-website" />
</Cards>

</Steps>

## Troubleshooting [#troubleshooting]

If AWS rejects an operation, check the IAM permissions for the deployment resources and confirm that the key is active. If the required policy is unclear, contact Skro support with the failed operation and error message. Keep the secret access key out of support messages and screenshots.
