# Fortigate

{% hint style="info" %}
This integration is currently in beta.
{% endhint %}

Connect your Fortinet Fortigate account with Halo Security to automatically import assets into the Halo Security platform.

### Fortigate Setup

To connect Halo Security with Fortigate, you'll need to create a REST API Admin:

1. Log into FortiGate web UI as an administrator.
2. Navigate to **System → Administrators → Create New → REST API Admin**.
3. Enter a name for the API admin (e.g., "Halo Security").
4. Configure **Trusted Hosts**:
   * Leave blank to allow access from any IP, **or**
   * Set to Halo Security's [IP addresses](https://support.halosecurity.com/en/articles/6233248-add-ip-addresses-to-allowlist) for restricted access
5. Click to generate the API key.
6. Copy the generated **API Token**.

### Connect Fortigate to Halo Security

1. Navigate to *Settings → Integrations →* [Add](https://app.halosecurity.com/user/settings/integrations/add).
2. Select **Fortigate** from the list of available integrations.
3. Name the integration and click **Add**
4. Configure the following settings:
   * **Auto-Update Every:** Select how often you would like to sync data from Fortigate
   * **API Token**: Enter your API token
   * **Host /** **IP**: Enter the IP/FQDN of your Fortigate instance.
5. Click **Save**

After verifying the account details, your integration will be ready for use.

{% hint style="info" %}
You can add domains or hosts to ignore in the **Ignore** tab. Any hosts listed here will be skipped when retrieving information from Fortigate, allowing you to exclude specific resources from your asset discovery.
{% endhint %}


---

# 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://docs.halosecurity.com/docs/integrations/discovery-integrations/fortigate.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.
