# Integrating MinIO Client with vStorage

To integrate the MinIO Client with vStorage, you can follow the instructions below:

1. Download and Install MinIO Client: [https://min.io/docs/minio/linux/reference/minio-mc.html?ref=docs-redirect](https://min.io/docs/minio/linux/reference/minio-mc.html?ref=docs-redirect]\(https://min.io/docs/minio/linux/reference/minio-mc.html?ref=docs-redirect\)) to download and install the MinIO Client as per the instructions.
2. Run the Command: Open the terminal and run the following command to add a new host to the MinIO Client configuration:

> mc config host add \<ALIAS> \<COS-ENDPOINT> \<ACCESS-KEY> \<SECRET-KEY>

Note:

* **\<ALIAS>**: The alias or identifier for your host.
* **\<COS-ENDPOINT>**: The path to vStorage, which could be [hcm01.vstorage.vngcloud.vn](http://hcm01.vstorage.vngcloud.vn/) (Region HCM01 - Ho Chi Minh) or [han01.vstorage.vngcloud.vn](http://han01.vstorage.vngcloud.vn/) (Region HAN01 - Hanoi).
* **\<ACCESS-KEY>** and **\<SECRET-KEY>**: These are the key pairs provided through the vIAM system.

Note that you need to provide necessary information such as access key and secret key from the vIAM system to authenticate the MinIO Client with the vStorage service.


---

# 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/vstorage/object-storage/vstorage-hcm03/3rd-party-softwares/minio-client-mc/integrating-minio-client-with-vstorage.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.
