Để bắt đầu sử dụng Gemini Code Assist, trước tiên bạn cần kích hoạt giấy phép bằng cách liên kết giấy phép đó với một dự án trên Google Cloud. Hãy làm theo hướng dẫn cho môi trường bạn muốn bên dưới.
Cách 1: Kích hoạt từ một IDE
Đây là cách trực tiếp nhất để bắt đầu.
Cài đặt trình bổ trợ Gemini Code Assist trong IDE mà bạn muốn (ví dụ: VS Code, Android Studio). Nếu chưa có, bạn có thể tải phiên bản mới nhất xuống từ codeassist.google.
Đăng nhập bằng giao diện Gemini Code Assist trong IDE.
Hãy nhớ sử dụng cùng một Tài khoản Google được liên kết với gói thuê bao cao cấp của Chương trình dành cho nhà phát triển của Google.
Chọn hoặc tạo một dự án trên Google Cloud khi được trình bổ trợ nhắc.
Sau khi bạn chọn một dự án, Gemini Code Assist sẽ hoạt động và sẵn sàng sử dụng trong IDE của bạn.
Lưu ý: Bạn cần có một dự án trên Google Cloud để quản lý dịch vụ này, nhưng không cần bật tính năng thanh toán. Gói thuê bao Premium trong Chương trình Nhà phát triển của Google sẽ chi trả chi phí này.
Cách 2: Kích hoạt từ Web hoặc CLI
Hãy sử dụng phương thức này nếu bạn chủ yếu làm việc trong các công cụ dựa trên web sử dụng Gemini Code Assist, chẳng hạn như Firebase Studio hoặc dòng lệnh cho Gemini CLI.
Chọn hoặc tạo một dự án trên Google Cloud. Truy cập vào Google Cloud Console để chọn một dự án hiện có hoặc tạo một dự án mới.
Bật API. Trong trang tổng quan của dự án bạn đã chọn, hãy chuyển đến thư viện API rồi bật Gemini for Google Cloud API.
Đăng nhập vào công cụ của bạn. Mở dịch vụ của bạn (ví dụ: Firebase Studio) hoặc thiết bị đầu cuối và đăng nhập bằng cùng một Tài khoản Google có gói thuê bao cao cấp của bạn.
Giờ đây, Gemini Code Assist sẽ được bật trong tất cả các dịch vụ Google Cloud được kết nối.
Tìm hiểu thêm
Để khám phá tất cả các tính năng và chức năng, hãy xem tài liệu chính thức:
[null,null,["Cập nhật lần gần đây nhất: 2025-08-08 UTC."],[],[],null,["# Activate Gemini Code Assist Standard License with GDP Premium\n\nCongratulations on your [Google Developer Program premium subscription](/profile/help/plans-and-pricing)!\n\nTo start using Gemini Code Assist, you first need to activate your license by linking it to a Google Cloud project. Follow the instructions for your preferred environment below.\n| **Note:** GCA Standard from the Google Developer Premium subscription allows for one user and no seat assignments.\n\nMethod 1: Activate from an IDE\n------------------------------\n\nThis is the most direct way to get started.\n\n1. **Install the Gemini Code Assist plugin** in your preferred IDE (e.g., VS Code, Android Studio). If you don't have it, you can download the latest version from [codeassist.google](https://codeassist.google/).\n\n2. **Sign in** using the Gemini Code Assist interface within your IDE.\n\n Be sure to use the same Google account associated with your Google Developer Program premium subscription.\n3. **Select or create a Google Cloud project** when prompted by the plugin.\n\nOnce you select a project, Gemini Code Assist will be active and ready to use in\nyour IDE.\n\u003e **Note:** A Google Cloud project is required to manage the service, but **you do not need to enable billing**. Your Google Developer Program premium subscription covers the cost.\n\n*** ** * ** ***\n\nMethod 2: Activate from the Web or CLI\n--------------------------------------\n\nUse this method if you primarily work in web-based tools that use Gemini Code\nAssist like Firebase Studio or the command-line for such as Gemini CLI.\n\n1. **Select or create a Google Cloud project.** Go to the [Google Cloud Console](https://console.cloud.google.com/) to choose an existing project or create a new one.\n\n2. **Enable the API.** In your selected project's dashboard, navigate to the API library and enable the **Gemini for Google Cloud API**.\n\n3. **Sign in to your tool.** Open your service (e.g., Firebase Studio) or terminal and sign in with the same Google Account that holds your premium subscription.\n\nGemini Code Assist will now be enabled in all connected Google Cloud services.\n\nLearn More\n----------\n\nTo explore all the features and capabilities, check out the official documentation:\n\n- [Gemini Code Assist Documentation](https://cloud.google.com/gemini/docs/code-assist)\n\n- [Gemini CLI Documentation](https://cloud.google.com/gemini/docs/cli)\n\n- [Gemini Code Assist Write Code Documentation](https://cloud.google.com/gemini/docs/codeassist/write-code-gemini)."]]