Complete Tutorial on AI Model Integration and Third-Party Tool Configuration
Includes installation tutorial, environment configuration, VS Code plugin configuration, and FAQs
sk- |https://api.rezeai.com or obtain other addresses via the console|
# Enter the project directory
cd your project folder address
# Configure environment variables in Windows PowerShell
$env:ANTHROPIC_AUTH_TOKEN = "Enter your SK key here"
$env:ANTHROPIC_BASE_URL = "https://api.rezeai.com"
# Configure environment variables in Windows cmd
set ANTHROPIC_AUTH_TOKEN=Enter your SK key here
set ANTHROPIC_BASE_URL=https://api.rezeai.com
# Launch Claude Code
claudeconfig.json, and place it in the following path:
Enable auto-execution permissions:

Enter other models:

### Frequently Asked Questions
**Q: "Invalid API Key · Please run /login" message? **
A: Environment variables are not working. Please check the variable names:
- Check if `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_BASE_URL` are set correctly.
- If using permanent configuration, have you restarted the terminal?
**Q: Displaying "offline" status?**
A: Claude Code determines network status by connecting to Google, which does not affect normal use.
**Q: Requests always show "fetch failed"?**
A: This may be due to network conditions. Using a proxy tool is recommended.
**Q: How to handle API errors?**
A: This may be due to an unstable forwarding proxy. Recommendations:
- Ctrl+C to terminate the conversation and exit Claude Code.
- Rerun the configuration command.
- If the problem persists, please try again later.
### Precautions
- Please keep your API token safe to avoid loss due to leakage.
---
# N8N Workflow Using Relay API Tutorial
N8N is an open-source workflow automation tool that supports AI node integration and can build complex automated processes. **1. Open the n8n official website https://n8n.io/, log in, and click "Start Using" in the upper right corner.**

**2. Create a new workflow.**

**3. Choose a suitable trigger method.**

**4. Add a workflow AI.** **Module**

**5. Select OpenaAI**

**6. Chat must be selected under TEXT ACTIONS: Message a model**

**7. Start configuring the relay** API**

The API key is generated and obtained on the API token page.
Enter our intermediary address in the Base URL field: https://api.rezeai.com/v1 **(Note: This is different from the API address's Base URL; it includes /v1)**
Click save to save.

**8. After clicking save, the following message indicates a successful connection.**

**9. I'll configure this module simply and click Execute.** Step 1: Run the test.

**Successful response**