# Hosting

### Hosting types

We offer two ways for your container's hosting:

* Via our **CDN** (Content Delivery Network): provides you a total autonomous deployment. Our CDN is having a 99.9% of SLA\
  It's compatible with First Party hosting, please read [this page](https://doc.commandersact.com/configure/administration/domain-management/cdn-1st) for further info!
* Via your site’s **web servers**, managed by your IT department or outside technical provider. With this hosting option, you can choose a **synchronization method** (automatic or manual) for transmitting the modifications made for your site in the Commanders Act interface.\
  \
  In all cases : for a new workspace, you will be must to configure the connector on the platform. Use the menu Administration => Connector Credentials to add a new connector

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-d462a80be98317c1803883dcdbc2f48ab8b30918%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### FTP connector configuration

Simply fill in all fields of the form:\
**Name:** Give an explicit name to your connector\
**Containers:** Select any client-side containers you want to associate with the connector\
**Protocol:** Select the type of File Transfer Protocol you need. We recommend to using SFTP, for security reasons\
**Host:** Enter the main domain or IP address of your FTP repository\
**Port:** Enter your standard port ID (SFTP is 22, FTP is 21, FTPS is 21...)\
**Path:** Enter the path of your repository. Should end with a "/" (see below example)\
**User:** Login to access of your FTP\
**Password/Key:** if there's a password or a key associated to your FTP, enter this information here

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-f801cc285e2c1f03f11283fa40452e19165baaff%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### CDN connector configuration

It's almost identical to the FTP connector, there is only 2 more steps:\
Select a CDN vendor (EdgeCast or Akamai)\
Setup the "Purge" part (use the Account ID, Token and Purge URL provided by your CDN vendor)

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-ff0ea1f6f383d88ff09ee7e289bbbde0dbe39d17%2Fimage.png?alt=media" alt="" width="509"><figcaption></figcaption></figure>

### URL connector configuration

Just give an explicit name, enter the correct URL and select any client-side container(s) you want to associate with the connector

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-0ea36d620321956ed20838348a1b990d1705c392%2Fimage.png?alt=media" alt="" width="539"><figcaption></figcaption></figure>

### Amazon S3 connector configuration

It's almost identical to the FTP connector. However, it requires a bucket as the host:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-60253e96ab0f39a6ecdb449ed9d38593c045f989%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Google Cloud Storage connector configuration

fill in all fields of the form:\
**Name:** Give an explicit name to your connector\
**Bucket:** Enter the main domain or IP address of your FTP repository\
**Path:** Enter the path of your repository. Should end with a "/" (see below example)\
**Project ID:** Enter the id of the project in Google Cloud Storage. Can be found in Google Cloud JSON Key file\
**Private key ID:** Enter your private RSA Key Id for Google Cloud Services. Can be found in Google Cloud JSON Key file\
**Private key:** Enter the password associated to your Private Key ID. Still can be found in Google Cloud JSON Key file\
**Google Account Email:** Enter the client Google Cloud Services email used for authentication. You can find it in Google Cloud JSON Key file\
**Client Id:** Enter the client Google Cloud Services Id. Still can be found in Google Cloud JSON Key file\
**Client X509 Cert URL:** Enter the client custom X509 URL for Google Cloud Services. Can be found in Google Cloud JSON Key file\\

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-3307b9ecd99d217a50788bf13dc142d7c1ea929f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The Private Key field must include the comments 'BEGIN PRIVATE KEY' and 'END PRIVATE KEY'\
\
All the characters "`\n"` present in the Private Key must be replaced by "enter" (jump line)
{% endhint %}

```
//example for the private key:

-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy0
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzA
aaaaaaaaaaaaaaaaaaaaaaa=
-----END PRIVATE KEY-----
```

### Bing Ads connector configuration

Simply follow the step by step guide provided by Bing:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-59610b848b3865a830c0a8d916aa9649a39fbbee%2Fimage.png?alt=media" alt="" width="311"><figcaption></figcaption></figure>

### Facebook Ads connector configuration

Simply follow the step by step guide provided by Facebook:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-3d53371a3df135100148bf6bb6fd0f61013d1889%2Fimage.png?alt=media" alt="" width="392"><figcaption></figcaption></figure>

### Criteo connector configuration

Simply follow the step by step guide provided by Criteo:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-7afb28600ef1462c4de16c264d9fa15b522bf2f6%2Fimage.png?alt=media" alt="" width="326"><figcaption></figcaption></figure>

### Google Ads connector configuration

Simply follow the step by step guide provided by Google Ads:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-6e4dbfffc59d1e769d05e6af2d891b126b92de74%2Fimage.png?alt=media" alt="" width="407"><figcaption></figcaption></figure>

###

{% hint style="info" %}
Please note! Deletion of this connector credential is final. By removing access to a login, you will no longer be able to use it for this or any other site. This means you'll have to create a new one if you need it in the future.

If destinations from other sites use this identifier, they too will no longer work.

In case this login is currently used by at least one destination, our interface will display a list of the concerned destination(s) (only for the current site, it may affect some destinations on other sites)
{% endhint %}

### Snapchat connector configuration

Simply follow the step by step guide provided by Snapchat:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-4d8ffd95c58992e8b17a974104f3ca89b5e3e504%2Fimage.png?alt=media" alt="" width="343"><figcaption></figcaption></figure>

### Adobe Analytics connector configuration

Simply follow the step by step guide provided by Adobe:\
For more information, please refer to the [dedicated page](https://doc.commandersact.com/features/destinations/destinations-catalog/adobe/adobe-analytics)

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-c79dff28c317113640db935ec171f116e1645322%2Fimage.png?alt=media" alt="" width="415"><figcaption></figcaption></figure>

### Equativ connector configuration

Simply follow the step by step guide provided by Equativ:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-1942aa2c487b441d8900d9d6637787a6e7f38470%2Fimage.png?alt=media" alt="" width="340"><figcaption></figcaption></figure>

### Test & Debug

Once your connector configuration is done, you can click on the Test button to check that it's working properly.\
If it is correct, then you will see the following message:

<figure><img src="https://1259070148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-22935102b5b2b432d2918660c55c39f10418d8a4%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Common errors:\\

* your directory is not writable
* mistake on host/port/path
* Insufficient space
* Network outage = server/ or network problem
  {% endhint %}
