# Remote File

## 1. How to connect to your data?

1\. Go to the **Resources** page and click the **Add Resource** button.

2\. In the "Select a data source" step, select **Remote File.**

![](/files/5EYbq7DdWggfDvredDmQ)

3\. In the "Configure the data source" step, enter the credentials:

{% hint style="info" %}
Note: remember to add Acho's IP address, **35.239.14.244**, to your whitelist before starting the connection.
{% endhint %}

This is an example of SFTP:

* **Resource Name**: the displayed name of the data file on Acho.
* **Dataset Name**: the dataset name in your SFTP server.
* **File Format**: Acho only supports CSV files for now.&#x20;
* **Host:** the host of the SFTP server.
* **Port:** the port of the SFTP server.
* **User:** the user name of the SFTP server.
* **Password:** the password of the SFTP server.
* **URL (Path):** the URL to access the file in the SFTP server.

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

4\. In the "Select the tables", choose tables that you want to import.

5\. Click **Finish Setup**. You will see a  <img src="/files/-MgBo4LSmdK4OS-NqLZy" alt="" data-size="line"> icon next to your resource. It may take a few minutes to several hours depending on the data size and the number of your tables. Once your APP's data is ready, you will receive a notification email.&#x20;

## 2. How to set up Data Sync?

Acho supports creating schedulers to retrieve the latest data from your database at a certain time interval. To see more details, you can visit [here](https://docs.acho.io/data-sync/untitled).


---

# 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.acho.io/acho-studio/resources/import-data/file.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.
