Agentic account creation: AWS signup from your coding agent

Agentic account creation: AWS signup from your coding agent

Your coding agent can open AWS's new sign-up for you: the browser opens, you finish it, and short-lived credentials land in your CLI profile.

DevOps, Architecture, Security
Every coding-agent demo skips the same beat: the agent wants to deploy something, finds no AWS account configured on this machine, and stops. The human gets to leave the terminal, walk the sign-up wizard in a browser, and come back with whatever long-lived access key got minted along the way. I've done that detour more times than I'd defend in a review.
On November 17, AWS  announced  agentic account creation for agentic coding harnesses. Claude Code, Codex, and Cursor can now open the new AWS sign-up experience for you when you don't have an account yet. The browser opens on its own, you finish the sign-up, and the harness gets short-lived credentials back so it can start deploying. Per the announcement, the first project comes set up with a home Region, an IAM role manager, and credentials that refresh automatically.

Setup: the account, from the CLI

So what does the agent actually run? One command:
aws signup
You need AWS CLI 2.41.0 or later for  aws signup . From 2.32.0,  aws login  works instead, and the sign-in page it opens carries a Sign Up link. The CLI opens the new sign-up page in your default browser, or prints the URL if it doesn't, and the docs ask you to keep the command running while you finish. Sign-up can take several minutes.
The browser steps are the standard new experience: an email or a login you already own (Google, GitHub, Apple, or Amazon), a password, contact details, email verification. AWS provisions your first project in one of three Regions and picks the home Region from the country in your contact address. When you're done, the AWS sign-ins page opens and you choose your new project, which grants the CLI access to it. Five active sessions per browser is the cap. Budget accordingly.
Back in the terminal, verify:
aws sts get-caller-identity
The output shows your new project's AWS account ID. The CLI also writes the home Region into your profile, and it stops to ask before overwriting a Region the profile already holds.
Two failure modes live in the docs. If the CLI is older than 2.41.0, the  signup  command isn't in it; use  aws login . If the command exits and no credentials arrived (sign-up outlasted its wait, or you finished it later in AWS Settings), run  aws login  and pick the project.

Setup: the toolkit

A profile full of credentials still reaches nothing by itself. The  Agent Toolkit quick-start docs  even ship the prompt to paste into a bare agent:
I do not have an AWS account yet. Follow the setup instructions on the GitHub website at https://raw.githubusercontent.com/aws/agent-toolkit-for-aws/refs/heads/main/setup-instructions/setup.md to create one and set up the Agent Toolkit for AWS.
That prompt points the agent at AWS's own setup file, which installs or updates the CLI, runs the browser flow above, and verifies access. Notice one rule in that file: the agent is never to ask you for access keys. AWS had to write that down for a reason.
Install paths for the common agents, verbatim from the docs. Claude Code:
/plugin install aws-core@claude-plugins-official
/reload-plugins
Codex:
codex plugin marketplace add aws/agent-toolkit-for-aws
Then install aws-core from  /plugins . To wire every agent at once instead, a wizard from AWS CLI 2.35.0 or later detects what's installed:
aws configure agent-toolkit
One region note: the Agent Toolkit service lives only in us-east-1, regardless of your home Region, which is why the setup instructions pin  --region us-east-1  on the calls that touch it, as in  aws configure agent-toolkit --yes --region us-east-1 .
Then ask your agent what AWS Regions are available, and check the skill catalog:
aws agent-toolkit list-available-skills --region us-east-1

Tips worth more than the setup guide

The credentials are the same kind  aws login  issues, saved to your profile and refreshed automatically. They last 12 hours and renew for 90 days without another browser detour. No access key exists to sit in a dotfile and outlive your interest in the project. I've retired exactly zero static keys this year. This flow is better: it never mints one.
Add the rules file. The toolkit's rules land in CLAUDE.md, AGENTS.md, or your Cursor rules directory, and AWS's setup instructions refuse to overwrite one that exists, wrapping their block in comment markers instead. Without the rules file, the docs say your agent may apply AWS best practices less consistently, which is a polite way of saying it will improvise.
You still own the browser. The agent runs the commands; you complete sign-up and choose the project, and the CLI docs state it plainly: you are responsible for what your AI tool does on your behalf in your projects. As it should be.

Costs and caveats

The toolkit adds no charge; you pay standard pricing for whatever your agent provisions. Account verification holds a dollar on your card for three to five days, and you might be ineligible for the Free Tier on the new experience. In that case you land on the Paid Plan, where spend limits fence your budget, a friendlier default than a surprise invoice. Free Tier access covers a long service list (Lambda, S3, Aurora, Bedrock, Cognito, and friends), but multi-Region features aren't supported for any of them. Anything missing from the list (GuardDuty, Control Tower, FSx) means the advanced sign-up, or activating advanced features once an account exists. Regulated workloads (HIPAA, FedRAMP) should skip the new experience and start with the advanced sign-up.

What the security reviewer will ask

The MCP server is a stateless proxy that keeps no persistent customer content. Requests that only search documentation or discover skills need no credentials at all. For everything else, your agent can do exactly what the IAM identity behind it allows, nothing more, and CloudTrail logs every call the server makes on your behalf. Each request carries the  aws:ViaAWSMCPService  and  aws:CalledViaAWSMCP  condition keys, so your policies can single out agent-initiated traffic. I'd scope the role down to whatever the agent needs; the docs recommend exactly that.

One prompt to try first

The setup file's suggested first prompt is "Please make a single page webapp game and deploy it to AWS." Sounds right. The detour shrank to one command and a browser page that waits for you.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article