# Importing a password protected feed

Importing a password-protected feed is similar to importing a non-protected feed. The only additional thing you will need to do is configure the authentication.

### Step 1 - Choose your feed type <a href="#h_01hvrpk7k4x7m3vqm23e4bsdhd" id="h_01hvrpk7k4x7m3vqm23e4bsdhd"></a>

In your project navigate to *Setup* and click "Setup import". You will be given a few options through which to import your products. Select your type of feed and click "Continue". We support authentication for the following file-based imports:

* XML
* CSV
* JSON
* Text file (.txt)

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/19237280250002" alt=""><figcaption></figcaption></figure>

***Note:*** we do **not** support importing a protected Google Spreadsheet. A Google Spreadsheet needs to be published online to be imported successfully. See [this article](https://helpcenter.channable.com/import-data/import-how-to/import-your-product-data/import-via-a-data-file/google-sheets/share-a-google-sheet-make-publicly-available) for more information.

### Step 2 - Fill in the URL <a href="#h_01hvrpk7k4m8hfwtws16gcdceg" id="h_01hvrpk7k4m8hfwtws16gcdceg"></a>

Next, fill in the URL of your feed.

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/19237280258322" alt=""><figcaption></figcaption></figure>

### Step 3 - Configure your authentication <a href="#h_01hvrpk7k5d8s0xzshdnegdgyx" id="h_01hvrpk7k5d8s0xzshdnegdgyx"></a>

We support various means of authentication for file-based imports depending on the protocol:

* HTTP and HTTPS
* FTP
* SFTP

First you need to pick the relevant protocol in the drop-down menu.

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/19237268046866" alt=""><figcaption></figcaption></figure>

#### HTTP and HTTPS <a href="#h_f045fc33-e9a7-45b8-8687-a46a7536709d" id="h_f045fc33-e9a7-45b8-8687-a46a7536709d"></a>

For HTTP and HTTPS protocols we support two authentication types:

* **Username & password (basic auth)**. Select “Username & password (basic auth)” next to the URL and fill in the username and password.&#x20;

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/19237280270098" alt=""><figcaption></figcaption></figure>

* **Username & password (digest auth).** This is another form of username-password authentication. It works the same as 'basic auth', but is less common.

***Note:*** If you are unsure whether to use 'basic auth' or 'digest auth', consult your server administrator.

* **Authentication header**. In this case, we will include an x-api-key header with the request. Select “Authentication header” next to the URL and fill in the header token.&#x20;

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/19237268055058" alt=""><figcaption></figcaption></figure>

***Note:*** for both "Username & Password" and "Authentication header", **HTTP** means that your credentials will be transmitted in the clear. To keep your credentials secure, use **HTTPS**.

#### FTP <a href="#h_66e17991-99f0-41a0-a184-6605c69204af" id="h_66e17991-99f0-41a0-a184-6605c69204af"></a>

For FTP, we also only support **Username & password** authentication. You can configure this the same way as for HTTP/HTTPS.&#x20;

***Note:*****&#x20;FTP** is an inherently insecure protocol, your credentials will be transmitted in the clear. To keep your credentials secure, use **SFTP.**

#### &#x20;SFTP (SSH File Transfer Protocol) <a href="#h_495f837f-91a1-4c70-9a5f-8dce3dd2eb99" id="h_495f837f-91a1-4c70-9a5f-8dce3dd2eb99"></a>

For SFTP, we currently only support **Username & password** login. You can configure this the same way as for HTTP/HTTPS. SFTP is secure, your credentials will be transmitted over an encrypted connection.
