---
sidebar_label: Setup
toc_max_heading_level: 3
doc_id: 3d9e7a2f-5c1b-4f8e-a6d4-8b0c2e1f9a53
description: >-
  Prerequisites and agent permissions for the Static files scope on AWS and Azure.
keywords:
  - static files
  - prerequisites
  - setup
  - AWS
  - Azure
---

# Set up the Static files scope

Before creating a Static files scope, configure the following in your nullplatform account:

- A **cloud provider** with DNS zone information set
- An **assets repository** provider backed by S3 or Blob Storage
- **Agent environment variables** for the OpenTofu state backend
- **Agent cloud permissions** to manage CDN distributions, DNS records, and storage access

Select your cloud provider for the full prerequisites and minimum permissions:

- [AWS](/docs/agent-backed-scopes/static-files/setup-aws): CloudFront, Route 53, and S3
  - [WAF](/docs/agent-backed-scopes/static-files/waf): optional, attach an existing AWS WAFv2 WebACL to the CloudFront distribution
- [Azure](/docs/agent-backed-scopes/static-files/setup-azure): Azure CDN, Azure DNS, and Blob Storage
