# SFTP Integration

SFTP integration for campaigns is exclusively available on an opt-in basis and is not accessible through the admin portal.&#x20;

* For questions related to SFTP, you may submit your inquiries [here](https://form.gov.sg/657025a2d2bd350012c82eb0).&#x20;
* For agencies interested to use SFTP, follow the steps below, then submit this [form](https://go.gov.sg/sftp-interest-form).

### Beginning your SFTP integration

{% hint style="warning" %}
We only accept RSA, ECDSA, and ED25519 keys. Keys must be in OpenSSH format.
{% endhint %}

1. Log into Postman and create a new campaign
   * this generates your campaign ID needed to fill in the form
2. Generate your campaign API key through the following steps
   1. Access your Campaign Settings
   2. Whitelist **Postman's IP addresses** as follows

* Note: there is no need to whitelist your server's IP addresses. You will just need to whitelist Postman's IP addresses below.

<table><thead><tr><th width="147">Environment</th><th width="220">IP Address to Whitelist in Postman Admin Portal</th><th width="71" data-type="number">Port</th><th>SFTP Server Domain</th></tr></thead><tbody><tr><td>Test Environment</td><td><p>18.136.33.127</p><p>52.77.196.100</p></td><td>22</td><td>test.sftp.postman.gov.sg</td></tr><tr><td>Production Environment</td><td><p>47.128.188.173</p><p>52.76.164.195<br>13.214.81.207</p></td><td>22</td><td>sftp.postman.gov.sg</td></tr></tbody></table>

<figure><img src="/files/SNT9DLHqEBCpBbG28Mky" alt=""><figcaption><p>Whitelist Postman's IP address in your campaign settings</p></figcaption></figure>

3. Generate the API keys in your SFTP campaign
   * this is the API key associated with your campaign
   * whitelist the above mentioned two static IP addresses in the Postman Admin Portal
   * [Generate your API keys](/postman-v2-admin-portal-for-api-users-mop/campaign-settings.md#api-keys)&#x20;
4. Go to the [form](https://go.gov.sg/sftp-interest-form).
5. Fill in the details.&#x20;
   * SSH Keys - Please refer to the guide on [generating your SSH keys](/sftp/generating-ssh-keys.md)
   * Notification email: this is the email address from which you wish to receive results of the file upload.
6. Submit the form. Our team will add your account and inform you once this is completed.
7. [Connect](https://postman-v2.guides.gov.sg/sftp/connecting-to-the-sftp-server) to our server, fill in the CSV file, and [drop](https://guide-v2.postman.gov.sg/sftp/sending-messages-via-sftp) it into our server


---

# 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://postman-v2.guides.gov.sg/sftp/sftp-integration.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.
