---
title: "Getting Started With MongoDB And AWS CodeWhisperer"
description: "AWS CodeWhisperer, now part of Amazon Q Developer, is an AI code assistant trained on billions of lines of code that generates real-time suggestions from snippets to full functions. MongoDB collaborated with AWS Data Science to fine-tune CodeWhisperer’s foundational models specifically for MongoDB, improving code suggestion quality for developers. This tutorial focuses on setting up CodeWhisperer in VS Code via the AWS Toolkit extension, though it also supports other IDEs like AWS Cloud9 and JupyterLab. Users can start without an AWS account, and the service is currently free for individual users. The guide covers installation, authorization with a Builder ID, navigating suggestions with TAB and arrow keys, and best practices like writing descriptive comments and using import statements."
---

# Getting Started With MongoDB And AWS CodeWhisperer

[MongoDB](https://yomu.fyi/company/mongodb) · Oct 28, 2026

**Type:** Tutorial

## Summary

AWS CodeWhisperer, now part of Amazon Q Developer, is an AI code assistant trained on billions of lines of code that generates real-time suggestions from snippets to full functions. MongoDB collaborated with AWS Data Science to fine-tune CodeWhisperer’s foundational models specifically for MongoDB, improving code suggestion quality for developers. This tutorial focuses on setting up CodeWhisperer in VS Code via the AWS Toolkit extension, though it also supports other IDEs like AWS Cloud9 and JupyterLab. Users can start without an AWS account, and the service is currently free for individual users. The guide covers installation, authorization with a Builder ID, navigating suggestions with TAB and arrow keys, and best practices like writing descriptive comments and using import statements.

## Approach / What changed

Install the AWS Toolkit extension in VS Code, authorize CodeWhisperer with a Builder ID, then use inline suggestions with TAB to accept, arrow keys to navigate, and Option-C/ALT-C to request suggestions manually. Follow best practices like writing descriptive comments and using import statements.

## Takeaways

- CodeWhisperer is integrated into the AWS Toolkit extension for VS Code, not a separate extension.
- Use TAB to accept suggestions, arrow keys to navigate between multiple options, and Option-C/ALT-C to request suggestions manually.
- For best results, provide context with descriptive comments, import statements, and descriptive variable names.

## FAQ

### How do I install CodeWhisperer in VS Code?

CodeWhisperer is part of the AWS Toolkit extension, not a standalone extension. Search for AWS CodeWhisperer in the VS Code extensions store and install the AWS Toolkit.

### How do I accept or navigate code suggestions?

Use TAB to accept a suggestion, left and right arrow keys to navigate between multiple suggestions, and ESC or keep typing to dismiss them.

### How do I manually request suggestions?

You can request suggestions manually with Option-C on Mac or ALT-C on Windows.

**Tags:** [AWS](https://yomu.fyi/topic/aws), [MongoDB](https://yomu.fyi/topic/mongodb), [VS Code](https://yomu.fyi/topic/vs-code)

- Source: [MongoDB](https://www.mongodb.com/company/blog/technical/getting-started-with-mongodb-and-codewhisperer)
- Source URL: https://www.mongodb.com/company/blog/technical/getting-started-with-mongodb-and-codewhisperer
- Ingested by Yomu: 2026-10-28T03:00:19.262Z

[Read original post](https://www.mongodb.com/company/blog/technical/getting-started-with-mongodb-and-codewhisperer)
