# SFTP Integration Setup

### Folder structure

* cinbox/ - incoming documents folder, with special settings
* coutbox/ - outgoing documents folder, with special settings
* error/ - unprocessable documents folder
* inbox/ - incoming documents folder
* outbox/ - outgoing documents folder

### SFTP connection properties

To connect to the FTP server, use the autogenerated credentials from the integration page **/admin/integrations/list**

* Login
* Password
* Host
* Port

Different data exchange formats can be used. If the WD data exchange format is used /the inbox and /outbox folders are used as working folders. In other cases /cinbox and /coutbox are used.


---

# 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://support.docstudio.com/admin-panel/integrations-and-api-access/integrations-page/sftp-integration-setup.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.
