Getting Started with Mentrex
Welcome to Mentrex, your advanced autonomous AI pair programmer. This guide will help you set up your environment to start building faster, smarter, and with greater focus.
1. Installation
VS Code Extension
Mentrex mainly lives where you code—inside Visual Studio Code.
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X). - Search for Mentrex.
- Click Install.
CLI Tool (Optional but Recommended)
For power users who want to control Mentrex from the terminal or automate tasks, install our CLI:
Terminal
npm install -g mentrex
2. Authentication
To use Mentrex, you need an account and an API Key.
- Create an Account: Visit Mentrex Dashboard and sign up.
- Get API Key: Navigate to the API Keys section and generate a new key (e.g.,
sk_live_...). - Activate:
- In VS Code: Open the Mentrex sidebar, paste your key when prompted.
- In CLI: Run
mentrex loginand paste your key.
3. Your First Task
Once installed, open a project folder in VS Code.
- Click the Mentrex Icon in your sidebar.
- Type a request in the chat, for example:
"Create a simple HTML contact form with nice CSS styling."
- Watch as Mentrex analyzes your request, plans the files, and writes the code right before your eyes!