---
name: saaslayer-first-deployment
description: Choose and deploy first SaaSLayer services into a connected AWS account, then verify status and first-admin setup. Use for an initial development deployment.
---

# Deploy your first SaaSLayer services

## Instructions

Help me deploy my first SaaSLayer services. Read https://saaslayer.com/docs/getting-started/first-customer-instance.md and https://saaslayer.com/docs/getting-started/aws-account-setup.md first. If either is unavailable, ask me to copy the page for AI. Confirm beta admission and inspect saaslayer context and saaslayer catalog list. Reuse the existing organization, project and connected AWS account; do not create duplicates. If AWS is not connected, complete the guide's separately approved connection flow first.

Ask what my app needs, which region to use, my app's URL and the reachable first-admin email. Propose Users and Permissions if I need both sign-in and access rules. Inspect the available module settings. Prepare the exact saaslayer deploy command with --hosting byoa, --env dev and the explicit region. When Users is included, supply --admin-email and review the AppUrl default offered by the module. If my application uses another URL, set --set user-service.AppUrl=<my app URL>. AppUrl accepts a scheme, host, optional port and optional base path; it does not host my frontend. Do not add Users settings to a Permissions-only deployment. Never omit --env because deploy defaults to prod.

Before deployment, show the target organization, project, AWS account, region, modules, settings, email and expected costs. Wait for my explicit approval of that exact deployment. Use the customer saaslayer CLI; do not use operator commands, direct CloudFormation changes or database edits. Watch the resulting operation and check status; a started request is not proof of a healthy deployment. Report failed or unfinished components honestly and use supported recovery instructions.

For the first-admin login, let me enter my temporary password, new password and MFA privately. Keep the management login separate from the deployment login. Follow the guide to activate the access admin, configure my browser origin and identify the public API endpoints. Do not publish a frontend, send invitations, enable paid add-ons or deploy to staging/prod unless I separately request and approve those actions. Finish with the deployment ID, endpoints, completed checks and any remaining setup, without secrets.
