Step 1: Installing the Roo Code Plugin
1. Open the Extensions Marketplace
a. Launch VS Code b. Click the Extensions Marketplace icon on the left sidebar c. EnterRoo Code
in the search bar
d. Locate the Roo Code
plugin

2. Install the Plugin
a. Click theInstall
button to begin installation
b. After installation, select “Trust the Author”

Step 2: Configuring API Settings
Configuration Details
Fill in the following information as specified:- API Provider: Select
OpenAI Compatible
- OpenAI Base URL: Enter
https://api.z.ai/api/coding/paas/v4
- API Key: Input your Z.AI API Key
- Model Name: Enter
glm-4.5
and select Use Custom

Step 3: Permission Setup and Usage
1. Configure Permissions
Select the permissions you wish to enable based on your needs:- File read/write operations
- Auto-approve execution
- Project access permissions

2. Start Using
Enter your requirements in the input box, and Roo Code will assist with:- Summarizing the current project structure
- Analyzing key modules and functionalities
- Code refactoring and optimization
- Generating documentation and comments
- Issue diagnosis and repair suggestions