# Symantec Cloud Secure Web Gateway

## Connection Requirements

{% stepper %}
{% step %}

### IP

IP address that hosts Symantec Cloud Secure Web Gateway.
{% endstep %}

{% step %}

### Port

Port that is going to be used for connection.
{% endstep %}

{% step %}

### Username

The username which is going to be used by OctoXLabs CSAM PLATFORM Asset to fetch data from Symantec Cloud Secure Web Gateway.
{% endstep %}

{% step %}

### Password

The Password of the provided username.
{% endstep %}

{% step %}

### Fetch Agents

Enable this if you want the fetch agents. If enabled username and password credentials should be in the format **X-APIUsername** and **X-APIPassword**.
{% endstep %}

{% step %}

### Proxy

Proxy url. (optional)
{% endstep %}

{% step %}

### Is Secure?

Choose this if your connection is going to be over HTTPS.
{% endstep %}

{% step %}

### Timeout

Define the maximum duration, in seconds, before the connection is automatically closed if there is no response. This field is optional and defaults to 60 seconds. Adjust this value if your network or server configuration requires a longer timeout period.
{% endstep %}
{% endstepper %}

## Generate API Credentials & Required Permissions

* In the Cloud SWG portal, select Account ConfigurationAPI Credentials.
* Click Add API Credentials. The portal displays the New API Credential dialog, which contains randomly generated characters in the Username and Password fields.
* Select the API Expiry according to your needs. We advise to use it on **Never**.
* Select the **Location Management**.
* Copy the Username and Password.

{% hint style="warning" %}
⚠️ Attention

Please perform a connection test to ensure there is a valid connection to the Symantec Cloud Secure Web Gateway host. When the discovery operation finalizes you will be able to see the details on the Assets page.
{% endhint %}
