Stay organized with collections
Save and categorize content based on your preferences.
This document describes how to set up Gemini Code Assist for
individuals in VS Code or IntelliJ. Users of
other supported JetBrains IDEs
should follow the IntelliJ instructions when setting up
Gemini Code Assist. You perform the following steps in your IDE:
Install the Gemini Code Assist extension.
Sign in with your Google Account.
Read the Gemini Privacy Notice.
Install the Gemini Code Assist extension
To install the Gemini Code Assist extension in your IDE, follow
these steps:
VS Code
To open the Extensions view in VS Code, click
Extensions or press Ctrl/Cmd+Shift+X.
Search for Gemini Code Assist.
Click Install.
If prompted, restart VS Code.
After the extension has successfully installed,
Gemini Code Assist appears in the activity bar and is
ready for use. You can further configure your
Gemini Code Assist installation by specifying your
preferences using the top-level application taskbar: navigate to
Code > Settings > Settings
> Extensions and search for Gemini Code Assist.
IntelliJ
Click settingsIDE
and Project Settings > Plugins.
In the Marketplace tab, search for Gemini Code Assist.
Click Install to install the plugin.
When the installation is finished, click Restart IDE.
When the IDE restarts, Gemini Code Assist appears in your
activity bar.
Now you're ready to sign in to your Google Account and accept the
Gemini Privacy Notice in your IDE.
Sign in to Google Account
In this section, you sign in to your Google Account by following these steps:
VS Code
If you prefer to follow the Code with
Gemini Code Assist
walkthrough directly in your IDE, click Launch VS Code and follow the
steps in the walkthrough to sign in to your Google Account.
In the activity bar, click
sparkGemini Code
Assist.
In the Gemini Code Assist: Chat window, click Login to Google.
When prompted to allow Gemini Code Assist to open the
external website, click Open.
Follow the prompts to sign in to your Google Account.
When asked if you downloaded Gemini Code Assist from
Google, click Sign In.
You're now connected to your Google Account.
Gemini Code Assist is ready to use.
IntelliJ
To sign in to your Google Account, follow these steps:
In the activity bar, click
sparkGemini Code
Assist.
Click Log in to Google.
On the page that opens in the web browser, select your Google Account.
On the screen that asks you to make sure that you downloaded this app
from Google, click Sign in.
Gemini Code Assist is now authorized to access your
account.
Now that you're signed in to your Google Account, you can read and dismiss the
Gemini Privacy Notice in your IDE.
Review the Gemini Code Assist for individuals privacy notice
After you've installed Gemini Code Assist and successfully signed
into Gemini Code Assist for individuals, the free version of
Gemini Code Assist, you'll see a privacy notice appear in the
chat panel in the Gemini Code Assist extension. We encourage you
to read the privacy notice to understand how Google handles
your data in VS Code or IntelliJ.
If you're using Gemini Code Assist for individuals, you can view
or update your privacy settings at any time.
You can find the Gemini Code Assist for individuals privacy
notice and settings in two ways:
VS Code
In the Gemini Code Assist chat pane, click
more_horizMore and then select
Privacy settings.
In your IDE, navigate to
settingsSettings
> Extensions > Gemini Code Assist.
In the Gemini Code Assist telemetry section, you can select whether or
not to send usage statistics, such as crash reports, to Google. Usage
statistics are subject to the
Google privacy policy.
You'll also see a link to the Gemini Code Assist for
individuals privacy notice
and privacy settings. This link opens a page where you can choose to opt
out of allowing Google to use your data to develop and improve Google's
machine learning models. These privacy settings are stored at the IDE
level.
IntelliJ
In the gutter of your IDE, click
spark
Gemini Code Assist, and then select Privacy settings.
Navigate to settingsSettings > Settings > Gemini.
In the section about Gemini Code Usage Statistics, you can select
whether or not to send usage statistics, such as crash reports, to Google.
Usage statistics are subject to the
Google privacy policy.
You'll also see a link to the Gemini Code Assist for
individuals privacy notice
and privacy settings. This link opens a page where you can choose to opt
out of allowing Google to use your data to develop and improve Google's
machine learning models. These privacy settings are stored at the IDE
level.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eNew Gemini Code Assist customers without prior subscriptions receive credits for up to 50 free licenses in their first month.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist Enterprise is available for a promotional price of $19 per month per user with a 12-month commitment until March 31, 2025.\u003c/p\u003e\n"],["\u003cp\u003eSetting up Gemini Code Assist in VS Code or IntelliJ involves installing the extension, signing in with a Google Account, and reading the Gemini Privacy Notice.\u003c/p\u003e\n"],["\u003cp\u003eTo install the extension, users need to search for "Gemini Code Assist" in the Extensions or Marketplace section of their IDE and then restart their IDE after installation.\u003c/p\u003e\n"],["\u003cp\u003eSigning into a Google Account to use Gemini Code Assist can be done by clicking "Login to Google" or "Log in to Google" within the Gemini Code Assist chat window in the IDE.\u003c/p\u003e\n"]]],[],null,["| **Note:** If you're at a business or would like more team-level benefits, consider [Gemini Code Assist Standard or Enterprise](/gemini-code-assist/docs/set-up-gemini-standard-enterprise).\n\nThis document describes how to set up Gemini Code Assist for\nindividuals in VS Code or IntelliJ and\n[other supported JetBrains IDEs](/gemini-code-assist/docs/supported-languages#supported_ides).\nYou perform the following steps in your IDE:\n\n- Install the Gemini Code Assist extension.\n- Sign in with your Google Account.\n- Read the Gemini Privacy Notice.\n\nInstall the Gemini Code Assist extension\n\nTo install the Gemini Code Assist extension in your IDE, follow\nthese steps: \n\nVS Code\n\n1. To open the **Extensions** view in VS Code, click\n\n **Extensions** or press `Ctrl`/`Cmd`+`Shift`+`X`.\n\n2. Search for `Gemini Code Assist`.\n\n3. Click **Install**.\n\n4. If prompted, restart VS Code.\n\n After the extension has successfully installed,\n Gemini Code Assist appears in the activity bar and is\n ready for use. You can further configure your\n Gemini Code Assist installation by specifying your\n preferences using the top-level application taskbar: navigate to\n **Code** \\\u003e **Settings** \\\u003e **Settings**\n \\\u003e **Extensions** and search for `Gemini Code Assist`.\n\nIntelliJ\n\n1. Click settings **IDE\n and Project Settings** \\\u003e **Plugins**.\n2. In the **Marketplace** tab, search for `Gemini Code Assist`.\n3. Click **Install** to install the plugin.\n4. When the installation is finished, click **Restart IDE**.\n5. When the IDE restarts, Gemini Code Assist appears in your\n activity bar.\n\nNow you're ready to sign in to your Google Account and accept the\nGemini Privacy Notice in your IDE.\n\nSign in to Google Account\n\nIn this section, you sign in to your Google Account by following these steps: \n\nVS Code\n\nIf you prefer to follow the **Code with\nGemini Code Assist**\nwalkthrough directly in your IDE, click **Launch VS Code** and follow the\nsteps in the walkthrough to sign in to your Google Account.\n\n[Launch VS Code](vscode://googlecloudtools.cloudcode/cloudcode.openWalkthrough?id=duet-ai)\n\nOtherwise, follow these steps:\n\n1. Launch your IDE.\n\n2. In the activity bar, click\n spark**Gemini Code\n Assist**.\n\n3. In the **Gemini Code Assist: Chat** window, click **Login to Google**.\n\n4. When prompted to allow Gemini Code Assist to open the\n external website, click **Open**.\n\n5. Follow the prompts to sign in to your Google Account.\n\n6. When asked if you downloaded Gemini Code Assist from\n Google, click **Sign In**.\n\n | **Note:** If your sign-in attempts keep timing out, see the **Sign-in attempts keep timing out** issue in [Known issues](/gemini-code-assist/docs/write-code-gemini#known_issues) for more information on troubleshooting.\n\n You're now connected to your Google Account.\n\n Gemini Code Assist is ready to use.\n\nIntelliJ\n\nTo sign in to your Google Account, follow these steps:\n\n1. In the activity bar, click\n spark **Gemini Code\n Assist**.\n\n2. Click **Log in to Google**.\n\n3. On the page that opens in the web browser, select your Google Account.\n\n4. On the screen that asks you to make sure that you downloaded this app\n from Google, click **Sign in**.\n\n Gemini Code Assist is now authorized to access your\n account.\n\nNow that you're signed in to your Google Account, you can read and dismiss the\nGemini Privacy Notice in your IDE.\n\nReview the Gemini Code Assist for individuals privacy notice\n\nAfter you've installed Gemini Code Assist and successfully signed\ninto Gemini Code Assist for individuals, the free version of\nGemini Code Assist, you'll see a privacy notice appear in the\nchat panel in the Gemini Code Assist extension. We encourage you\nto [read the privacy notice](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals) to understand how Google handles\nyour data in VS Code or IntelliJ.\n\nIf you're using Gemini Code Assist for individuals, you can view\nor update your privacy settings at any time.\n\nYou can find the Gemini Code Assist for individuals privacy\nnotice and settings in two ways: \n\nVS Code\n\n- In the Gemini Code Assist chat pane, click\n more_horiz **More** and then select\n **Privacy settings**.\n\n- In your IDE, navigate to\n settings **Settings**\n \\\u003e **Extensions** \\\u003e **Gemini Code Assist**.\n\n In the **Gemini Code Assist telemetry** section, you can select whether or\n not to send usage statistics, such as crash reports, to Google. Usage\n statistics are subject to the\n [Google privacy policy](https://policies.google.com/privacy).\n\n You'll also see a link to the [Gemini Code Assist for\n individuals privacy notice](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals)\n and privacy settings. This link opens a page where you can choose to opt\n out of allowing Google to use your data to develop and improve Google's\n machine learning models. These privacy settings are stored at the IDE\n level.\n | **Note:** If you're using Gemini Code Assist Standard and Enterprise editions, the Gemini Code Assist for individuals privacy notice doesn't apply to you, since with these editions you're always opted out of sharing your data to develop and improve Google's machine learning models.\n\nIntelliJ\n\n- In the gutter of your IDE, click\n spark\n Gemini Code Assist, and then select **Privacy settings**.\n\n- Navigate to settings\n **Settings** \\\u003e **Settings** \\\u003e **Gemini**.\n\n In the section about **Gemini Code Usage Statistics** , you can select\n whether or not to send usage statistics, such as crash reports, to Google.\n Usage statistics are subject to the\n [Google privacy policy](https://policies.google.com/privacy).\n\n You'll also see a link to the [Gemini Code Assist for\n individuals privacy notice](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals)\n and privacy settings. This link opens a page where you can choose to opt\n out of allowing Google to use your data to develop and improve Google's\n machine learning models. These privacy settings are stored at the IDE\n level.\n | **Note:** If you're using Gemini Code Assist Standard and Enterprise editions, the Gemini Code Assist for individuals privacy notice doesn't apply to you, since with these editions you're always opted out of sharing your data to develop and improve Google's machine learning models.\n\nNow you're ready to use Gemini Code Assist in your IDE. To get\nstarted, see\n[Code with Gemini Code Assist](/gemini-code-assist/docs/write-code-gemini)\nand [Chat with Gemini Code Assist](/gemini-code-assist/docs/chat-gemini)."]]