---
title: "Fastly"
slug: "fastly"
updated: 2024-05-22T06:43:14Z
published: 2024-05-22T06:43:14Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safe.security/llms.txt
> Use this file to discover all available pages before exploring further.

# Fastly

## About this document

---

This document provides the step-by-step procedure to configure Fastly in SAFE.

## Introduction

---

SAFE integrates with Fastly, and fetches the security misconfiguration of the Fastly account in SAFE.

## Prerequisites

---

- Access required in **SAFE**:
  - SAFE Admin Access
- Access required in **Fastly**:
  - Fastly Super User
- Required User Inputs:
  - API URL
  - API Token
- Scope:
  - Read Access

## Generate Connection Details

---

- How to generate **API Token**
  - Log in to your Fastly account as **Superuser**.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/1(28).png)
  - Click on your profile drop-down available at the top-right of the screen.
  - Click on the **Account** option.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/2(25).png)
  - Click on the **API tokens**from the left navigation under **Personal Profile** section.
  - Click on the **Create Token**button.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/3(24).png)
  - Enter your account password and click on the **Continue** button.
  - Enter the **Token** **Name**.
  - Select the **Type** as **User token**.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/4(23).png)
  - Select the **Scope** as "Read-only access (global:read) to read account information configuration and stats."
  - Select the **Access** as **All services**.
  - Set the **Token** **Expiry** date. It's important to regularly update the API Token in SAFE according to its expiration date.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/5(24).png)
  - Click on the **Create Token** button.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/6(23).png)
  - Enter your account password and click on the **Continue**button.
  - The system displays the **API Token**. **Copy** and **save** the token to use it while configuring Fastly in SAFE.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/7(22).png)
- How to get **API URL**
  - Access the Fastly API documentation by clicking on the provided [link](https://www.fastly.com/documentation/reference/api/).
  - Upon reaching the Fastly API documentation page, locate the section titled as "**Domain**".
  - In the exhibit provided, find the base URL highlighted as 3. **Copy** and **save** this *API Base URL* to use it while configuring Fastly in SAFE.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/8(24).png)

## Configure Fastly in SAFE

---

- Log in to your SAFE account as **Admin**.
- Click on the **Integrations**option from the left navigation.
- Scroll to find Fastly integration card or search for Fastly in the search bar.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/9(24).png)
- Hover over the **Fastly** integration card and click on the **Configure** button.
- Enter the**API URL** and **API Token**.
- Enter the **Auto Sync Frequency**.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/10(22).png)
- Click on the **Test Connection** button.
- Once the connection is successful, click on the **Save** button.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/11(16).png)
- Once the configuration is saved successfully, click on the **Sync** **Now** button to trigger an on-demand sync.
- Upon a successful sync, the system pulls the Fastly assets and their findings in SAFE. You can track the status of the sync in the **History** table.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/12(15).png)

## View Results

---

- Go to the Integrations on the Left navigation.
- Scroll to find the Fastly integration card or search for Fastly in the search bar.
- Click on the Fastly integration card for **Finding View** and **Asset View**.
  - **Finding View:** This tab displays all the findings details pulled from Fastly.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/13(11).png)
  - **Asset View:**This tab displays all the assets pulled from Fastly.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/14(9).png)

## History

---

Learn More about Integration History [here](https://docs.safe.security/safe-4/docs/integration-history).

## SAFE's Outgoing IP Addresses

---

Click [here](https://docs.safe.security/safe-4/docs/safes-outgoing-ip-addresses) to find the outgoing IP addresses of SAFE. All traffic to any integrations in SAFE will see one IP address as the source IP of the incoming connection.
