> For the complete documentation index, see [llms.txt](https://ai-docs.fptcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-docs.fptcloud.com/fpt-ai-studio/services/data-hub/tutorials/how-to-create-a-data-connection.md).

# How to Create a Data Connection?

### **Step 1**: **Create S3 bucket**&#x20;

Access Object Storage Management at [https://console.fptcloud.com](https://console.fptcloud.com/) and select the Buckets tab, choose Create Bucket. More details about S3 bucket, visit here: <https://fptcloud.com/en/documents/fpt-object-storage/?doc=tutorials-bucket>

### **Step 2**: Upload a New Object

Upload a New Object to the Bucket. More details about Object, visit here: <https://fptcloud.com/en/documents/fpt-object-storage/?doc=tutorials-object>

***Note***: Ensure that you have successfully created a bucket to store objects in FPT Object Storage. You can also refer to the bucket creation guide here: <https://fptcloud.com/en/documents/fpt-object-storage/>

### **Step 3**: Create a Data Connection

Access the Data Hub service, navigate to the Connection list, and click the "Create Connection" button

<figure><img src="https://fptcloud.com/wp-content/uploads/2025/03/image-1742974995525.33.34.png" alt=""><figcaption></figcaption></figure>

* You will need to enter the required information to create a connection.
  * **Name**: Enter connection name
    * Valid characters: Only letters (a-z, case-insensitive), numbers (0-9), and hyphens (-).
    * Length: Between 3 and 64 characters
  * **Data source**: Select a datasource to enable connection to the data
  * **Endpoint URL**: The endpoint address of the bucket you want to connect to, example: [https://test-bucket-name.s3-han02.fptcloud.com](https://test-bucket-name.s3-han02.fptcloud.com/)
  * **Access key** & **Secret key**: Authentication information for access permissions. More details about Access Key Management, visit here: <https://fptcloud.com/en/documents/fpt-object-storage/?doc=tutorials-access-key-management>
  * Click **Save** to create a connection
  * After successfully creating a connection, you can select one for training, evaluation, or testing data to build a pipeline. You can also refer to the pipeline creation guide here <https://fptcloud.com/en/documents/model-fine-tuning/?doc=create-pipeline>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ai-docs.fptcloud.com/fpt-ai-studio/services/data-hub/tutorials/how-to-create-a-data-connection.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
