---
name: saaslayer-aws-setup
description: Prepare an AWS account, configure setup access, and connect it to SaaSLayer through the customer CLI. Use for first-time AWS setup or foundation installation and status checks.
---

# Connect AWS and install foundations

## Instructions

Help me prepare an AWS account and connect it to SaaSLayer using https://saaslayer.com/docs/getting-started/aws-account-setup.md. If you cannot read the guide, ask me to copy its page for AI. Confirm beta admission, the target AWS account, region, SaaSLayer organization and project. Ask whether the account is new or administered by a security team.

Explain AWS billing and the account-plan consequences before I enable Identity Center with AWS Organizations: this can upgrade a Free account to Paid and expire its Free Tier credits. Explain that the bootstrap policy permits privileged IAM trust and permission changes. Have me complete account signup, root MFA, AWS permission grants and browser sign-in myself; do not create IAM access keys or collect credentials in chat. A budget alert does not cap spending.

Inspect the selected identity with aws sts get-caller-identity, using my chosen local profile or no --profile in CloudShell. Inspect saaslayer context. Before any AWS write, show the account ID, region, organization, project, expected foundation stacks and command, and wait for my explicit approval. Use saaslayer aws connect for installation and saaslayer aws foundation status to check both stacks. Do not enable optional email or SMS features unless I request them and approve their costs. Stop before deploying app services. If setup rolls back or is blocked for reconciliation, follow the support handoff; never delete or edit managed stacks, IAM roles, SSM parameters or deployment records directly.
