# Initialize AI Gateway

To start using AI Gateway on GreenNode, follow these steps:

**Step 1:** Access the AI Gateway interface on the GreenNode Console via: <http://aigateway.console.vngcloud.vn/>​

**Step 2:** In the left-hand menu, select AI Gateway, then click the Create an AI Gateway button.

<figure><img src="/files/TqWSuTUSbbuW5CLhtT1E" alt=""><figcaption></figcaption></figure>

**Step 3:** On the Create New Gateway screen, fill in the following information:

* **AI Gateway Name:** Provide a memorable name for your gateway. The name must contain only a–z, A–Z, 0–9, underscore (\_) or hyphen (-), and be between 5 and 50 characters
* **Model Provider:**
  * Select the AI model provider you want to connect to, such as OpenAI, Anthropic, Google, or DeepSeek.
  * **API Key:** Enter the corresponding API Key from the provider. If you do not have one, click Get API Key — you will be redirected to the provider’s page to obtain it.
  * **Choose Model:** Select the AI model you want to use (e.g., gemini-1.5, gemini-2.0, etc.). To view the full list, click View full list to display all supported models.
* **Gateway Config:** By default, the system enables the Authenticated Gateway feature. An authentication token will be automatically generated — you can use this token to send requests to the AI Gateway

**Step 4:** Click Create an AI Gateway. Your AI Gateway will be initialized and ready for use.

<figure><img src="/files/5i7lIE0wgMRKsoU0dyGE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/ai-stack/ai-gateway/get-starting-with-ai-gateway/initialize-ai-gateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
