Getting Started

Complete these prerequisites before using any AgentBase service. Once done, follow the reading path to start building.


Prerequisites

Create a GreenNode Account

  1. Navigate to https://console.vngcloud.vn and sign up or log in.

  2. Complete account verification.

  3. Create or join an Organization. All AgentBase resources are scoped to an organization.

Note: If your company already has a GreenNode organization, ask your administrator to invite you before creating a separate account.

Install Required Tools

Python SDK

pip install greennode-agentbase

For LangGraph and LangChain integration:

pip install "greennode-agent-bridge[langgraph]"

curl and jq (for RESTful API examples)

# macOS
brew install jq

# Ubuntu / Debian
apt-get install -y curl jq

# Windows β€” use WSL or Git Bash with jq from https://jqlang.github.io/jq/

Set Up an IAM Service Account

All AgentBase API calls (Portal, RESTful API, and SDK) require a GreenNode IAM bearer token obtained from a Service Account. Follow these steps once to create your service account.

Portal (GUI)

Step 1 β€” Navigate to IAM Service Accounts

  1. Open: https://iam.console.vngcloud.vn/service-accounts

  2. If prompted, log in with your GreenNode account.

Step 2 β€” Create a New Service Account

  1. Click "Create a Service Account".

  2. Fill in:

    • Name: e.g., agentbase-dev

    • Description: e.g., Service account for AgentBase test

  3. Click "Next Step".

1774518047320

Step 3 β€” Attach Policies

  1. On the Permissions tab, click "Attach Policies".

  2. Search for and attach each of these policies:

    • AgentBaseFullAccess β€” access to Identity, Runtime, and Memory services

    • vcrFullAccess β€” access to the Container Registry (for image push/pull)

    • AiPlatformFullAccess β€” access to LLM models and API keys

  3. Click "Create Service Account".

Step 4 β€” Copy the Client Secret (one-time only)

Warning: The Client Secret is shown only once at creation time. Copy and save it immediately β€” it cannot be retrieved later. If lost, you must reset it (which invalidates the old one).

  1. A popup appears with your credentials. Copy the Client Secret and save it securely.

  2. Click "Back to list".

  3. Find your new service account, click it, go to "Security credentials" tab.

  4. Copy the Client ID.

Configure Authentication

Now that you have a Client ID and Client Secret, configure them so that all API calls and SDK operations can authenticate automatically.

Option A β€” Environment Variables

Option B β€” Config File

Create a .greennode.json file in your project root:

Warning: Do not commit .greennode.json to version control. Add it to .gitignore.

Get an IAM Token ($TOKEN)

All RESTful API examples in this guide use $TOKEN. Obtain it with:

Then use it in API calls:

Token expiry: Tokens are short-lived. If you receive a 401 Unauthorized response, re-run the command above to obtain a fresh token.

Note (SDK users): The Python SDK handles token management automatically β€” just ensure your credentials are configured via environment variables or .greennode.json. No manual token fetching needed.


What's Next?

Once prerequisites are complete, follow the chapters in order for your first deployment, or jump to a specific topic:

I want to...
Go to

Register my agent on the platform

Store API keys for external services

Deploy and run my agent

Add conversation memory

Monitor and debug

Get an LLM API key (OpenAI-compatible)

First time? Start with Access Control β†’ Supporting Services (vCR) β†’ Runtime to go from zero to a running agent.


Charging & Fees

Billing details will be updated in a future revision.


Last updated