> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bắt đầu nhanh

> Bắt đầu với Helius bằng cách tạo tài khoản miễn phí và thực hiện lệnh gọi API đầu tiên chỉ trong vài giây.

## Thực hiện lệnh gọi API đầu tiên

<Steps titleSize="h3">
  <Step title="Create your free Helius account">
    Đăng ký tại [Bảng điều khiển Helius](https://dashboard.helius.dev/signup). Gói miễn phí hoàn toàn đủ để tạo nguyên mẫu.
  </Step>

  <Step title="Send your first request">
    Mở thẻ [**Bắt đầu**](https://dashboard.helius.dev/get-started) trong bảng điều khiển, chọn phương thức `getBalance` rồi nhấp vào **Gửi yêu cầu**.

    <img src="https://mintcdn.com/helius/vdiC_WpsL8f7g0-1/images/dashboard-get-started.png?fit=max&auto=format&n=vdiC_WpsL8f7g0-1&q=85&s=99c62f3d31a7d89e2d4599626badcc26" alt="Helius dashboard Get started section: click Send request" width="1874" height="1194" data-path="images/dashboard-get-started.png" />
  </Step>

  <Step title="Success!">
    Bạn vừa truy vấn phương thức `getBalance` để lấy số dư của địa chỉ ví. Bạn sẽ thấy phản hồi như sau:

    ```json theme={"system"}
    {
      "jsonrpc": "2.0",
      "result": {
        "context": {
          "slot": 434696579,
          "apiVersion": "3.1.9"
        },
        "value": 1266028802962
      },
      "id": 1
    }
    ```

    Hãy thử các phương thức khác như `getTransactionsForAddress` để lấy lịch sử giao dịch hoặc `getAccountInfo` để lấy thông tin chi tiết về tài khoản.
  </Step>
</Steps>

## Các bước tiếp theo

Dữ liệu đã bắt đầu truyền. Hãy chọn bước tiếp theo.

<CardGroup cols={2}>
  <Card title="Connect your AI coding tool" icon="robot" href="#kết-nối-công-cụ-lập-trình-ai">
    Thêm máy chủ Helius MCP để trợ lý AI có thể xây dựng và gỡ lỗi bằng dữ liệu Solana trực tiếp.
  </Card>

  <Card title="Send your first transaction" icon="paper-plane" href="/docs/vi/sending-transactions/overview">
    Đưa một giao dịch lên chuỗi với phí ưu tiên và định tuyến trực tiếp đến các leader.
  </Card>

  <Card title="Stream live data" icon="bolt" href="/docs/vi/data-streaming/quickstart">
    Đăng ký nhận thông tin cập nhật trên chuỗi theo thời gian thực qua gRPC hoặc WebSocket nâng cao.
  </Card>

  <Card title="Build your first app" icon="rocket" href="#xây-dựng-ứng-dụng-đầu-tiên">
    Làm theo một lộ trình độc lập với mã có thể sao chép và dán để chạy chỉ trong vài phút.
  </Card>
</CardGroup>

## Kết nối công cụ lập trình AI

Kết nối **[máy chủ Helius MCP](/docs/vi/agents/mcp)** với công cụ AI để công cụ này có thể xây dựng và gỡ lỗi bằng dữ liệu Solana trực tiếp (số dư, siêu dữ liệu tài sản, giao dịch đã phân tích cú pháp, webhook và luồng dữ liệu) thay vì phỏng đoán. Hoạt động với Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Codex và mọi công cụ tương thích với MCP.

<Tabs>
  <Tab title="Claude Code">
    Chạy lệnh sau:

    ```bash theme={"system"}
    claude mcp add helius npx helius-mcp@latest
    ```

    Hoặc thêm vào `.mcp.json` của dự án:

    ```json theme={"system"}
    {
      "mcpServers": {
        "helius": {
          "command": "npx",
          "args": ["helius-mcp@latest"]
        }
      }
    }
    ```

    Xác minh bằng lệnh:

    ```bash theme={"system"}
    claude mcp list
    ```

    <Tip>
      Bạn muốn cài đặt kỹ năng + MCP trong một bước? Thay vào đó, hãy cài đặt [plugin Helius](/docs/vi/agents/claude-code-plugin). Chạy hai lệnh sau riêng biệt:

      ```
      /plugin marketplace add helius-labs/core-ai
      ```

      ```
      /plugin install helius@helius-labs
      ```
    </Tip>
  </Tab>

  <Tab title="Claude Desktop">
    Mở **Settings > Developer > Edit Config** và thêm máy chủ:

    ```json theme={"system"}
    {
      "mcpServers": {
        "helius": {
          "command": "npx",
          "args": ["helius-mcp@latest"]
        }
      }
    }
    ```

    Khởi động lại Claude Desktop để áp dụng.
  </Tab>

  <Tab title="Cursor">
    Mở bảng lệnh (`Cmd/Ctrl + Shift + P`), tìm **MCP: Add Server** rồi nhập:

    * **Tên:** `helius`
    * **Lệnh:** `npx helius-mcp@latest`

    Hoặc thêm vào `.cursor/mcp.json` của dự án:

    ```json theme={"system"}
    {
      "mcpServers": {
        "helius": {
          "command": "npx",
          "args": ["helius-mcp@latest"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="VS Code">
    Tạo tệp `.vscode/mcp.json` trong thư mục gốc của dự án:

    ```json theme={"system"}
    {
      "servers": {
        "helius": {
          "command": "npx",
          "args": ["helius-mcp@latest"]
        }
      }
    }
    ```

    Yêu cầu tiện ích [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) đã bật hỗ trợ MCP.
  </Tab>

  <Tab title="Windsurf">
    Mở bảng lệnh (`Cmd/Ctrl + Shift + P`), tìm **Configure MCP Servers** rồi thêm:

    ```json theme={"system"}
    {
      "mcpServers": {
        "helius": {
          "command": "npx",
          "args": ["helius-mcp@latest"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Codex">
    Chạy lệnh sau:

    ```bash theme={"system"}
    codex mcp add helius -- npx helius-mcp@latest
    ```

    Hoặc thêm vào `~/.codex/config.toml` (hoặc `.codex/config.toml` nếu chỉ áp dụng cho dự án):

    ```toml theme={"system"}
    [mcp_servers.helius]
    command = "npx"
    args = ["helius-mcp@latest"]
    ```

    Xác minh bằng lệnh:

    ```bash theme={"system"}
    codex mcp list
    ```
  </Tab>
</Tabs>

## Xây dựng ứng dụng đầu tiên

Mỗi lộ trình đều độc lập, với mã có thể sao chép và dán để chạy chỉ trong vài phút.

<CardGroup cols={2}>
  <Card title="Build a portfolio tracker" icon="wallet" href="/docs/vi/quickstart/portfolio-tracker">
    **Mainnet.** Token, NFT và SOL qua DAS, cùng dữ liệu lịch sử và nguồn cấp WebSocket trực tiếp.
  </Card>

  <Card title="Deploy your own program" icon="rocket" href="/docs/vi/quickstart/deploy-program">
    **Devnet.** Triển khai một chương trình mẫu qua Helius RPC và gọi chương trình đó bằng `sendTransaction`.
  </Card>
</CardGroup>

## Khám phá nền tảng

<CardGroup cols={2}>
  <Card title="Build with AI agents" icon="robot" href="/docs/vi/agents/overview">
    Kết nối máy chủ Helius MCP và các SDK để trợ lý AI có thể xây dựng trên Solana bằng dữ liệu trực tiếp.
  </Card>

  <Card title="API Reference" icon="code" href="/docs/vi/api-reference">
    Duyệt qua mọi điểm cuối Helius: RPC, DAS, giao dịch nâng cao, webhook và luồng dữ liệu.
  </Card>

  <Card title="Digital Asset Standard (DAS)" icon="images" href="/docs/vi/api-reference/das/getassetsbyowner">
    Truy vấn token, NFT và NFT nén theo chủ sở hữu, bộ sưu tập hoặc đặc điểm.
  </Card>

  <Card title="Real-Time Data Streaming" icon="bolt" href="/docs/vi/data-streaming/quickstart">
    Truyền trực tiếp dữ liệu blockchain với độ trễ dưới một giây qua gRPC hoặc WebSocket nâng cao.
  </Card>
</CardGroup>
