Skip to content

Get Access To CodeWhisperer

To use CodeWhisperer as you coding assistant, first thing you need to do is getting access to this tool. This docs is a step-by-step guide for this process!

Prerequisites

  • You must have AWS SSO Account and granted to use AWS CodeWhisperer

Introduction

AWS Toolkit - CodeWhisperer is an AI powered productivity tool for the IDE.

  • Real-time code suggestions: automatic code recommendations in Python, Java, JavaScript, TypeScript, SQL and 10 more languages, now including infrastructure as code (CloudFormation, AWS CDK, and Terraform)
  • Optimized for use with AWS services: code suggestions are optimized for AWS APIs including Amazon Elastic Compute Cloud (Amazon EC2), AWS Lambda, and Amazon Simple Storage Service (Amazon S3)
  • Built-in security scans: Scan your code to detect hard-to-find vulnerabilities and get code suggestions to remediate them immediately

Install AWS Toolkit - CodeWhisperer extension for Visual Studio Code

Step 1. Install extension

  • Open Visual Studio Extensions (Ctrl+Shift+X)
  • Search AWS Toolkit in search box
  • Click Install to get AWS Toolkit - Amazon Q, CodeWhisperer, and more extension

codewhisperer

Step 2. Sign in AWS account to use CodeWhisperer extension

  • Click to AWS icon in left sidebar
  • In CODEWHISPERER tab, click to Sign in to get started
  • In Amazon Q + Code Whisperer tab, expand the Sign in with IAM Identity Center (SSO)
  • With Start URL, fill the url: https://smartosc.awsapps.com/start/
  • With Region: choose ap-southeast-1 (Asia Paciffic-Singapore)
  • Click Sign in button

codewhisperer

  • A authorization request show in browser. Click Confirm and continue. It's will redirect to AWS SSO Portal login page. Continue sign in your AWS account.

codewhisperer

  • When login success, AWS Toolkit extensions will ask permission to access code data. Click Allow button.

codewhisperer

Now you're ready to use AWS CodeWhisperer as you coding assistant.

Install AWS Toolkit - CodeWhisperer extension for IntelliJ IDEA

Step 1. Install extension

  • Open IntelliJ plugin
  • Search AWS Toolkit in search box
  • Click Install to get AWS Toolkit - Amazon Q, CodeWhisperer, and more extension

codewhisperer

Step 2. Sign in AWS account to use CodeWhisperer extension

  • Click to AWS icon in left sidebar
  • In CODEWHISPERER tab, click to Sign in to get started
  • In Amazon Q + Code Whisperer tab, expand the Sign in with IAM Identity Center (SSO)
  • With Start URL, fill the url: https://smartosc.awsapps.com/start/
  • With Region: choose ap-southeast-1 (Asia Paciffic-Singapore)
  • Click Sign in button

codewhisperer

codewhisperer

  • A authorization request show in browser. Click Confirm and continue. It's will redirect to AWS SSO Portal login page. Continue sign in your AWS account.

codewhisperer

  • When login success, AWS Toolkit extensions will ask permission to access code data. Click Allow button.

codewhisperer