# How to publish your Elements site using SFTP

Publishing from the Elements App to your Elements Hosting account via SFTP has been designed to be safe and secure (as well as fast)!

Below are the steps to publish your Elements sites securely using SFTP.

#### Step 1

Log into the [Elements Hosting Reactor Panel](https://reactor.elementshosting.io/login), click on `Websites` in the sidebar menu, select the website you'd like to publish to via SFTP, click on `Advanced` in the top menu bar, then select `Developer Tools` from the drop-down menu.

Scroll down to the `SSH password authentication` section.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FJkq5NOgZ2rwpbmpoGIPU%2F1-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=abb2adfb-f24a-41b6-888f-1632ac20168d" alt=""><figcaption></figcaption></figure>

#### Step 2

Take note of the following:

1. SFTP Username
2. SFTP Server IP Address/Host
3. SFTP Password (if you don't know your SFTP password you can reset it here)

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FltFMaCXK39GQRMrz5I9N%2F2-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=69cc0dd0-23a4-4b58-9841-dd1c5c6bfe1c" alt=""><figcaption></figcaption></figure>

#### Step 3

In the Elements App, click on `Publishing Setup` in the upper right-hand corner of the app window.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2F0SRGsbUcWWh3Vf2c20aL%2F3-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=066ca883-b0d1-4821-9d7c-c97eb361015b" alt=""><figcaption></figcaption></figure>

#### Step 4

Give your publishing destination a name in the `Name` field, and select `SFTP` from the `Publishing Method` drop-down menu.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FNxDLIfadkEChVvS7MVe0%2F04-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=b27cc9c7-a3db-4de4-8644-f1fdceec7fb9" alt=""><figcaption></figcaption></figure>

#### Step 5

Click the `Setup` button

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FPZ7fK60SkegdSoqQwuwb%2F05-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=a1d4b053-4f0c-4ed1-9b4e-5c5a1335facf" alt=""><figcaption></figcaption></figure>

#### Step 6

Enter your SFTP user details from [Step 2 above](#step-2).

* **Publishing Method:** SFTP
* **Server:** Your Host/Server IP Address
* **Connections:** 1 (very slow) to 6 (very fast)
* **Username:** Your SFTP Username
* **Password:** Your SFTP Password

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FUmk1p26DnGZiKMbEpr39%2F6-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=46c897ff-dffe-4296-a717-2a61d8f7aa8c" alt=""><figcaption></figcaption></figure>

Click the `Test` button in the lower-left of the window to confirm you've entered your SFTP connection details correctly. You will see a pop-up window telling you if the connection test was successful, or if it failed. If it fails, please double-check your SFTP connection details, that they are entered correctly, and test again.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FpIcgpbfalsBi9jk6BLXG%2F7-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=bc595737-dc0f-4699-bd0c-9cdcdb6404a2" alt=""><figcaption></figcaption></figure>

#### Step 7

Next to the `Path` field, click the the `Browse` button.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FDhG26DEMh9cahxdTVLN8%2F8-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=8647d146-11ac-4fa5-82b1-5eeae5576da7" alt=""><figcaption></figcaption></figure>

Select the folder where your website files should be uploaded to (usually **public\_html** if you are only hosting 1 website on the account), then click the `Choose` button.

{% hint style="info" %}
If you are hosting multiple websites on your Elements Hosting account, you will need to make sure you select the correct folder to upload to. When in doubt, ask us. 🙂
{% endhint %}

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FYOAlI43Mn0jAJeDiqS9k%2F9-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=4a5552ae-6f1f-41bd-bc89-ecd749f59f49" alt=""><figcaption></figcaption></figure>

Finally click the `Done` button.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2F8cbGEXJbGd62ecIBidrm%2F010-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=3454e322-19b8-4d13-8d78-93041f328727" alt=""><figcaption></figcaption></figure>

#### Step 8

When you are ready, click `Publish` in the upper right-hand corner of the window, and watch as your website gets published to your Elements Hosting account! 🎉

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FwSRqz2cbSFuHEV9NH07G%2F11-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=d5075c7f-eb68-4c47-a23e-f7354b0b085b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2F35KilZ30LNq830QUsTMA%2F12-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=cb03bab5-c1af-4088-bf19-f4a4ea7edf89" alt=""><figcaption></figcaption></figure>

You can now visit your website in your browser, resting easy knowing it was uploaded safely and securely to your Elements Hosting account. 🔒

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FmFNQfcRECDDNfBEwMgMb%2F13-how-to-publish-your-elements-site-using-sftp.webp?alt=media&#x26;token=9471b9d5-a43c-4555-a4bc-b05e66b6a6f3" alt=""><figcaption></figcaption></figure>
