

# Getting started

**Welcome to the new AWS Amplify**  
Amplify now puts hosting, a Postgres database, and sign-in in one AWS account. Deploy from your terminal or from Git, check every change in a preview first, and roll back in one step if something breaks.  
Looking for Amplify Hosting? See the [Amplify Hosting User Guide](https://docs.aws.amazon.com/amplify/hosting/userguide/welcome.html).

 AWS Amplify (Amplify Gen 3) builds, hosts, and scales your web app on AWS. It detects your framework, such as Next.js, Nuxt, or Astro, and sets up the build to match. You write the app, and Amplify handles the infrastructure, AWS Identity and Access Management (IAM), and credentials. When your app needs a backend, one command adds it: a managed Postgres database, user sign-in, and a Data API, all run by Amplify. As your app grows, connect services such as Amazon Aurora DSQL, Amazon S3, and Amazon Bedrock, or private resources in your VPC.

## Get started with your AI coding agent
<a name="introduction-ai-agent"></a>

Open your agent in your app folder and give it the following prompt. It works with any coding agent that can run terminal commands. The agent follows the steps on that page, then deploys your app to a preview URL.

```text
Set up Amplify for me by following these instructions: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-with-ai-agents.md Then deploy my app and share the preview URL.
```

If you only want the skill, install it and restart your agent:

```bash
aws agent-toolkit add-skill --skill-name aws-amplify
```

Then ask your agent to build something. For example:

```text
Build a signup page for my event. Visitors sign in, reserve a spot, and see only their own reservation. Deploy it to preview and show me that it works.
```

Your agent uses your AWS credentials and the Amplify CLI, so your account still needs the prerequisites and permissions. For the manual steps, see [Tutorial: Deploy a website](getting-started.md). To see what your agent asks before it acts, see [Deploy with AI coding agents](deploy-with-ai-agents.md).

## What is an app?
<a name="introduction-what-is-a-app"></a>

An Amplify app is everything that runs your website: the environments your code is built and deployed in, the resources you connect to it, and the domain name your customers visit. You can add your own environments and integrations, and you can use your own domain name.

An app can have one backend, which Amplify runs for you. The backend has three parts behind a single endpoint:
+ Database: managed PostgreSQL.
+ Auth: authentication, authorization, and user management, running on managed Better Auth.
+ Data API: a PostgREST-compatible HTTPS API that reads and writes your tables.

Your first `aws amplifygen3 deploy` from the CLI creates the backend. A deployment from a Git push doesn’t. When you delete the app, Amplify deletes the backend too. For more information, see [Amplify backend](deploy-backend.md).

## Key features
<a name="introduction-key-features"></a>
+  **Deploy in less than a minute, redeploy in seconds** – Go from code to a live URL without configuring AWS services, AWS Identity and Access Management (IAM) roles, or infrastructure templates.
+  **Backends** – Add a Postgres database, user sign-up and sign-in, and a Data API to your app. You define tables in SQL migrations. Your app has one backend, and each environment keeps its data in its own backend branches.
+  **Framework-defined infrastructure** – No CloudFormation, CDK, or IAM JSON. Amplify detects your framework and generates the right infrastructure from your code.
+  **Native AWS integrations** – Connect to Amazon Aurora DSQL, Amazon S3, and more through environment variables. No IAM configuration required.
+  **Deploy from Git or from your machine** – Connect a repository on GitHub (github.com) or GitLab (gitlab.com), and Amplify deploys when you push. You can’t connect other Git hosts, such as Bitbucket. Without a repository, deploy from your machine with the Amplify CLI.
+  **Multiple environments** – Every app starts with `preview` and `production`. Add custom environments as your workflow requires.
+  **Server-side rendering** – Amplify supports server-side rendering (SSR), incremental static regeneration (ISR), streaming, and image optimization. Server-rendered code runs in the AWS Region where you deploy your app. For the Regions that support SSR, see [SSR supported features](ssr-supported-features.md).
+  **Middleware** – Run middleware before cached content is served, so you can redirect, rewrite, or add headers on every matching request. Next.js middleware needs no additional configuration. For other frameworks, see [Middleware](ssr-supported-features.md#ssr-supported-features-middleware).
+  **A CLI built for agents and people** – One CLI creates, deploys, and manages your app, its environments, integrations, and domains. Add `--output json` for output that a script or an agent can read. In an agent session, a command that needs your confirmation stops until you say yes.

## Core concepts
<a name="introduction-core-concepts"></a>

Amplify is built around a small set of concepts:
+  **App** – The top-level resource representing your web application.
+  **Environments** – Isolated deployment targets (`preview`, `production`, or custom) with their own URLs, integrations, and secrets.
+  **Deployments** – Immutable snapshots of your code released to an environment. Each gets a unique URL.
+  **Integrations** – Connections to AWS services that expose connection details, such as a bucket name or a database host, as environment variables. Access comes from the environment’s IAM role, so no credentials are stored in the variables.
+  **Backends** – A Postgres database, sign-in, and a Data API that Amplify manages for each environment.
+  **Branches** – Each environment keeps its backend data in its own branches. A branch is a separate database with its own sign-in users, so test data in `preview` never mixes with the data in `production`.

For more information about these concepts, see [Core concepts](getting-started-core-concepts.md).