Claude Code Integration Guide
Claude Code is an AI-powered coding assistance published by Anthropic that provides a terminal interface, allowing developers to delegate complex programming tasks directly from the terminal to Claude Code for completion.
Now, Novita provides Anthropic SDK compatible LLM API services, enabling you to easily use Novita LLM models in Claude Code to complete tasks. Please refer to the guide below to complete the integration process.
Quick Start
1. Install Claude Code
Before installing Claude Code, please ensure your local environment has Node.js 18 or higher installed.
To install Claude Code, run the following command:
2. Start your first session
Please find the list of models currently available for use in Claude Code here.
Open the terminal and set up environment variables as follows:
Next, navigate to your project directory and start Claude Code. You will see the Claude Code prompt inside a new interactive session:

3. Build a web game from scratch
Input your task description, then press Enter
to start this task.

Claude Code will analyze your requirements, create a multi-step plan, and automatically begin executing the tasks.

After completing each task, Claude Code will mark it as complete and proceed to plan and explain the details of the next task.

4. Task Results and Preview
After all tasks are completed, you will see the following messages in the terminal:

At this point, you can open the gravity-pong.html
file in your browser to view and play the game.

5. Use Git with Claude Code
Claude Code makes Git operations conversational:
You can also prompt for more complex Git operations:
6. Improve the game
As we can see, this game needs improvement: the orbs’ position overlaps with the paddle’s position, which affects the gaming experience. Next, we will reposition the orbs to the top-right corner and add game restart functionality.

This is the game preview after the improvement:

Try More Workflows
For reference, the following provides some prompt examples for different workflows:
- Code Refactoring
- Write Unit Tests
- Update Documentation
- Code Review
Common Commands
Command | Description | Example |
---|---|---|
claude | Start interactive mode | claude |
claude "task description" | Run a one-time task | claude "fix the build error" |
claude -p "query" | Run one-off query, then exit | claude -p "explain this function" |
claude -c | Continue most recent conversation | claude -c |
claude -r | Resume a previous conversation | claude -r |
claude commit | Create a Git commit | claude commit |
/clear | Clear conversation history | > /clear |
/help | View available commands | > /help |
exit or Ctrl+C | Exit Claude Code | > exit |