Install an AI Coding Assistant

23 steps

Add an AI coding-assistant extension to your code-server Development environment.

  1. 1

    From your code-server, click the “extensions” icon in the left nav.

    Install an AI Coding Assistant, step 1
  2. 2

    Search for the coding AI assistant of your choice. I will use Gemini Code Assist as an example.

    Install an AI Coding Assistant, step 2
  3. 3

    Click “Gemini Code Assist

    Install an AI Coding Assistant, step 3
  4. 4

    Click “Install

    Install an AI Coding Assistant, step 4
  5. 5

    Click “Trust Publisher & Install

    Install an AI Coding Assistant, step 5
  6. 6

    Click the Gemini icon to open the chat interface.

    Install an AI Coding Assistant, step 6
  7. 7

    Click “Sign in with Google

    Install an AI Coding Assistant, step 7
  8. 8

    Click the URL in the terminal.

  9. 9

    Click “Open

  10. 10

    Log into Google using your account.

    Install an AI Coding Assistant, step 10
  11. 11

    Click “Sign in

    Install an AI Coding Assistant, step 11
  12. 12

    Copy the authorization code.

  13. 13

    Paste the authorization code into the terminal where it's asking for input and press [[enter]]

  14. 14

    Click “Select a Google Cloud Project

    Install an AI Coding Assistant, step 14
  15. 15

    Click “Create a New Google Cloud Project” or click an existing one.

    Install an AI Coding Assistant, step 15
  16. 16

    Authorize to your Google account in whatever way you usually do.

    Install an AI Coding Assistant, step 16
  17. 17

    Create a new project.

    Install an AI Coding Assistant, step 17
  18. 18

    Refresh the list of projects.

    Install an AI Coding Assistant, step 18
  19. 19

    Select the project you created.

    Install an AI Coding Assistant, step 19
  20. 20

    Click here to enable the API.

    Install an AI Coding Assistant, step 20
  21. 21

    Make sure you click “Enable API” in the dialog in bottom right.

    Install an AI Coding Assistant, step 21
  22. 22

    Now you can chat with Gemini and ask for help.

  23. 23

    Gemini provides helpful instructions and intuitive user interface for implementing its code suggestions. And it's free. Congrats you have implemented an AI coding assistant in your development environment!