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

# Protect a resource

> Use the API workflow to select resources and assign a protection policy.

Protection is represented by a policy, a protection group, and an assignment between them. The
exact resource schemas and operation IDs are versioned; use the [Discovery API](/api-reference/discovery)
and the canonical endpoint reference before implementing a write request.

## Workflow

1. Discover the policy, protection-group, and assignment operations.
2. Create or select a protection group for the resource or tag rule.
3. Create a policy with the required RPO, retention, and backup tier.
4. Assign the policy to the protection group.
5. Confirm the resulting backup task in [Tasks](/api-reference/monitor-task).

<Note>
  This page demonstrates the task-oriented API guide that should sit beside generated endpoint
  reference. Request fields and payloads require live validation before publication.
</Note>

## Related interfaces

* [Protect with Terraform](/developer-tools/terraform)
* [AWS protection quickstart](/get-started/quickstart)
* [Full REST API reference](https://api.commvault.com/docs/latest/api/cv/ClumioAPIs/clumio-rest-api/)
