Simplifying Amazon Q Setup in PhpStorm
Tags: webdev, amazonq, howto, php
Published: 2023-12-30 03:57:03

Engaging with generative AI-powered chatbots has never been easier! Amazon Q, a dynamic alternative to ChatGPT, seamlessly integrates into PhpStorm, offering an intuitive solution for problem-solving, content generation, and taking actions within both your AWS account and favorite editor. Let's embark on the journey of setting up Amazon Q in PhpStorm with these straightforward steps:

Today, we will go through the process of how to setup Amazon Q with PhpStorm, following are the steps:

### Step 1: Open PhpStorm Settings
Navigate to the top-left menu in PhpStorm, click on **PhpStorm**, and select **Settings**.

![PhpStorm settings] (https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4l7sk73g2bagskdon6xq.png)

### Step 2: Access Marketplace in Plugins
Within the Settings, choose the **Marketplace** in the **Plugins** section.

![Plugins -> Marketplace](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1uderkaoav6se4tm9noc.png)

### Step 3: Install AWS Toolkit
Search for **AWS Toolkit** and click **Install**. After successful installation, restart PhpStorm when prompted.

![Search for Aws Toolkit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1q7tsi0vbe54j3d6uk0h.png)

![Restart IDE](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4fxrtjy19gnezcku9da7.png)

### Step 4: Sign into AWS Toolkit

After restarting, click on the AWS icon in the top-left panel, go to **Developer Tools**, and click **Sign in to get started**.


![Sign in to get started](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oztyvecuf0n5ic3wsm0q.png)

### Step 5: Create AWS Builder ID

Create an AWS Builder ID for free and click on **Connect**. Follow the on-screen instructions to proceed.


![AWS Builder ID](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/61v54y9ujw7ztyiocqy4.png)

### Step 6: Confirm in Browser
A code will be generated; click **Proceed To Browser**, confirm the code in the browser, and click **Confirm and continue**.

![Proceed to Browser](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29nlo9sc34fkmwxsrgix.png)

### Step 7: Create AWS Builder Account

Follow the steps to create an AWS Builder Account. Once created, allow AWS Toolkit for JetBrains to access your data by clicking **Allow**.

![AWS Builder Account](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m9m0045w0srbw7eqdw34.png)

### Completion: Amazon Q Integration in PhpStorm
Upon success, you'll see the Amazon Q panel in PhpStorm. Check Amazon Q status under **Developer Tools**.

![Amazon Q](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pendqj8o047u1k6gwb7y.png)

You can confirm Amazon Q status by clicking on the **AWS** icon, then **Developer Tools**, and you should see the following:


![Amazon Q status under Developer Tools](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bul6syhly1s3v6y1by5l.png)

You're all set! Click on Chat with Q to open the chat window.


![Amazon Q chat window](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h3jdeisnv8qa519o59oo.png)

Begin your conversational journey with Amazon Q effortlessly integrated into your PhpStorm environment!