Setting up CodeWhisperer for individual developers
You use CodeWhisperer Individual if you have acquired the tool independent of your team or organization and you will use AWS Builder ID to login.
If your organization is using IAM Identity Center and has provided you a Start URL (an authentication URL), see Setting up CodeWhisperer for professional developers.
Note
AWS recommends that, before using CodeWhisperer, you disable any other extensions that provide code completion functionality.
Important
Before you proceed, make sure that you are using the latest version of both your IDE and the AWS Toolkit.
- VS Code
-
Note
In order to use CodeWhisperer, all individual developers must sign up through the procedure below. Access to CodeWhisperer, for individual developers, is not tied to your AWS account access. Having an individual AWS account that is already connected to VS Code does not automatically give you access to CodeWhisperer in VS Code.
Your VS Code may already be connected to AWS through IAM Identity Center or IAM. In that case, during the following procedure, you will be prompted to decide whether to continue while using simultanteous methods of authentication. For more information, see Authenticating with CodeWhisperer and AWS Toolkit .
-
In the AWS Toolkit for Visual Studio Code, under Developer tools, under CodeWhisperer, select Start. A dropdown menu will appear at the top of VS Code.
-
From the dropdown menu, select Use a personal email to sign up and sign in with AWS Builder ID
-
At the prompt Copy Code for AWS Builder ID choose Copy Code and Proceed.
-
At the prompt Do you want Code to open the external website? choose Open.
-
A browser tab will open, displaying the Authorize request window.
The code should have been already added to your copy/paste buffer. Paste it in, and choose Next.
-
A browser tab will open to the Create AWS Builder ID page.
Enter your email address, and choose Next.
-
A field for Your name will appear. Enter your name and choose Next.
-
AWS will send an confirmation code to the email address that you submitted.
On the email verification screen, enter the code and choose Verify.
-
On the Choose your password screen, enter a password, confirm it, and choose Create AWS Builder ID.
-
A browser tab will open with a message asking you to allow AWS Toolkit for Visual Studio Code to access your data.
Choose Allow.
-
Return to VS Code. If you have already authenticated into other AWS tools using IAM, you will be asked whether you want to use Builder ID for all AWS services. Choose the option that best suits your situation.
If you're not sure what to do, choose Yes, keep using AWS Builder ID with CodeWhisperer while using....
-
- JetBrains
-
Note
In order to use CodeWhisperer, all individual developers must sign up through the procedure below. Access to CodeWhisperer, for individual developers, is not tied to your AWS account access. Having an individual AWS account that is already connected to JetBrains does not automatically give you access to CodeWhisperer in JetBrains.
To access CodeWhisperer from your JetBrains IDE, complete the following steps:
-
From the AWS Toolkit for JetBrains, choose the Developer Tools tab to open the Developer Tools explorer.
-
From the Developer Tools explorer, expand CodeWhisperer and choose Start.
-
A pop-up window will appear, titled CodeWhisperer: Add a Connection to AWS.
Select Use a personal email to sign up and sign in with AWS Builder ID and choose Connect.
-
A pop-up will open titled Sign in with AWS Builder ID. Choose Open and Copy Code.
-
A browser tab will open, displaying the Authorize request window.
The code should have been already added to your copy/paste buffer. Paste it in, and choose Next.
-
A browser tab will open to the Create AWS Builder ID page.
Enter your email address, and choose Next.
-
A field for Your name will appear. Enter your name and choose Next.
-
AWS will send an confirmation code to the email address that you submitted.
On the email verification screen, enter the code and choose Verify.
-
On the Choose your password screen, enter a password, confirm it, and choose Create AWS Builder ID.
-
A browser tab will open with a message asking you to allow JetBrains to access your data.
Choose Allow.
-
A browser tab will open. A message will appear in the new browser tab, asking if you want to allow AWS Toolkit for JetBrains to access your data.
If you agree, choose Allow.
-
Return to JetBrains.
-
Now you should be logged into CodeWhisperer with Builder ID.
To begin coding, see User actions.