---
updatedAt: 2026-08-28T16:38:12.000Z
agentTools:
  projectIndex: https://docs.scalr.io/llms.txt
---

# Scalr Documentation

# What is Scalr?

Scalr is a cost-effective, drop-in replacement for Terraform Cloud, offering feature parity and improved GitOps support. Scalr is fully compatible with the Terraform/OpenTofu CLI and the TFC API, so your existing workflows and integrations work unchanged. It serves as a remote operations backend — executing runs, storing state, and enforcing policy centrally — while giving dev teams full self-service autonomy through CLI, VCS-driven workflows (with apply-before-merge, rich PR integration, and comment-driven operations), and no-code provisioning.

Scalr does this by being a remote operations backend for Terraform and OpenTofu (<Glossary>OTF</Glossary>). Scalr executes runs and stores state centrally in Scalr or in a backend of your choice, enabling easy collaboration across your organization. You can continue to use existing workflows with the native Terraform or OpenTofu CLI, implement a GitOps workflow, or use No-Code provisioning.

# Why use Scalr?

**Our goal is to provide platform teams with all the control and visibility they need to empower their developers to be autonomous through full self-service.** The majority of our customers have a platform team that manages the overall infrastructure-as-code ecosystem, enabling developers or application teams to focus on the actual code and execution, rather than the platform or processes surrounding it.  Scalr enables this through:

* [Flexible workflows](https://docs.scalr.io/docs/creating-a-workspace) with the ability to execute Terraform through the native **Terraform or OpenTofu CLI, VCS/PR automation, or No Code deployments.**
* By default, Scalr is a [remote operations backend](https://docs.scalr.io/docs/cli), but it also supports **any Terraform or OpenTofu remote backend**, giving organizations more control and flexibility.
* [Native integrations](https://docs.scalr.io/docs/integrations) with tools like **GitHub, GitLab, Azure DevOps, BitBucket, Checkov, Terragrunt, AWS Eventbridge, Open Policy Agent, Wiz, Datadog, Okta, Slack, MS Teams, and more**.
* [**Reporting**](https://docs.scalr.io/docs/reports) on runs, drift, modules, providers, resources, OPA results, and more across all workspaces. [Drift detection](https://docs.scalr.io/docs/drift-detector) to automatically identify workspaces where infrastructure has diverged from its last applied state.
* A unique [**organizational model** ](https://docs.scalr.io/docs/structuring-scalr)that provides isolated environments per team as well as inheritance and assignment of objects like variables, credentials, and OPA policies.
* Custom [**RBAC roles**](https://docs.scalr.io/docs/identity-and-access-management) and flexible access policies so teams only have the permissions they need, plus [**provider configurations**](https://docs.scalr.io/docs/provider-configurations), including keyless authentication via Workload Identity / OIDC, to pass cloud credentials to runs without storing long-lived secrets.
* **AI tooling** — Scalr AI explains run errors and summarizes plans inline, and the [Scalr MCP Server](https://docs.scalr.io/docs/mcp-server) lets you query workspaces, audit IAM, and investigate runs from Claude, Cursor, or VS Code Copilot.

All of these concepts and more are documented in detail in the remainder of the docs, and you will find that everything can also be managed through the Scalr Terraform <Anchor target="_blank" href="https://docs.scalr.io/docs/provider_overview">provider</Anchor>, which is considered a best practice.

<Image src="https://files.readme.io/e21d448d00f24945f63f1d860c612650a4d6dcc59fcd4c025842daf28d89fc56-OpenTofu.png" align="center" />

# Where should I get started?

If you're developing code locally, we encourage you to use our [VSCode extension](https://marketplace.visualstudio.com/items?itemName=Scalr.scalr) that authenticates to Scalr and will show you a list of your workspaces, the latest run info, and more!

Typically, there are a few stages depending on your Terraform experience and the scale at which you are operating:

## Onboard

Get familiar with creating a run in Scalr and what your workspace options are. Once you create a run, you'll get a good feeling of how you can collaborate with your colleagues in Scalr. Features to use:

* Decide on your [remote backend strategy](https://docs.scalr.io/docs/remote-backends).
* Create a[ VCS provider](https://docs.scalr.io/docs/vcs-providers) to enable [PR automation](https://docs.scalr.io/docs/creating-a-workspace#vcs-driven).
* Create [environments](https://docs.scalr.io/docs/structuring-scalr), which is a way to segment teams and workspaces.
* Create [provider configurations](https://docs.scalr.io/docs/provider-configurations) to pass credentials to the runs.
* Create a [workspace](https://docs.scalr.io/docs/workspaces), select Terraform or OpenTofu, and if the [Terragrunt](https://docs.scalr.io/docs/terragrunt) wrapper will be used.
* Create a [run](https://docs.scalr.io/docs/workspaces-runs).
* Implement [RBAC](https://docs.scalr.io/docs/identity-and-access-management) for any user type.

<Embed title="" typeOfEmbed="youtube" url="https://www.youtube.com/watch?v=MLUGoGaVPyY" href="https://www.youtube.com/watch?v=MLUGoGaVPyY" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FMLUGoGaVPyY%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DMLUGoGaVPyY%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FMLUGoGaVPyY%252Fhqdefault.jpg%26key%3D02466f963b9b4bb8845a05b53d3235d7%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22640%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%3B%20encrypted-media%3B%20picture-in-picture%3B%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" />

## Standardize

Now that a workflow is in place, start creating standards for the deployments. Features to use:

* Once you understand which structure fits best, scale it by automating its deployment through the <Anchor target="_blank" href="https://docs.scalr.io/docs/provider_overview">Scalr provider</Anchor> .
* View [reports](https://docs.scalr.io/docs/reports) to understand usage and identify outliers.
* Add [modules](https://docs.scalr.io/docs/private-module-registry) to the registry for consumption across your organization.
* Add [hooks](https://docs.scalr.io/docs/hooks) to the hooks registry to customize your workflow.
* Create [OPA policies ](https://docs.scalr.io/docs/policy-as-code)to enforce standards.

<Embed title="" typeOfEmbed="youtube" url="https://www.youtube.com/watch?v=MRe8bxK69vU" href="https://www.youtube.com/watch?v=MRe8bxK69vU" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FMRe8bxK69vU%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DMRe8bxK69vU%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FMRe8bxK69vU%252Fhqdefault.jpg%26key%3D7788cb384c9f4d5dbbdbeffd9fe4b92f%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22854%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%3B%20encrypted-media%3B%20picture-in-picture%3B%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" />

## Operate

<Callout icon="📘" theme="info">
  ### Use the Scalr MCP server

  A good way to see what the [Scalr MCP Server](https://docs.scalr.io/docs/mcp-server) is for: ask your AI assistant to list every access policy that grants admin at the account scope, resolve which users and teams hold it, and flag anything that looks broader than it should be. What's normally a quarterly audit project becomes a five-minute conversation.
</Callout>

When you hit a certain scale, you'll want to ensure smooth Terraform operations. Features to use:

* [Run dashboards](https://docs.scalr.io/docs/workspaces-runs#run-dashboards) to see runs in a single place across the account environments.
* Set up [drift detection](https://docs.scalr.io/docs/drift-detector) and monitor reports to identify workspaces where infrastructure has diverged from state.
* Connect an AI assistant to Scalr via the [MCP server](https://docs.scalr.io/docs/mcp-server) to query workspaces, investigate runs, and analyze usage across your account in natural language.
* Integrate with [Datadog](https://docs.scalr.io/docs/datadog) or [AWS EventBridge](https://docs.scalr.io/docs/aws-event-bridge) to analyze Terraform events and react quickly.
* Integrate with [Slack](https://docs.scalr.io/docs/slack) or [Teams](https://docs.scalr.io/docs/msteams) to notify users of run events and approve/deny runs directly from there.
* Deploy [agents](https://docs.scalr.io/docs/agent-pools) to execute runs on infrastructure in your own network.

You’re always welcome to open a [Support Ticket](https://scalr-labs.atlassian.net/servicedesk/customer/portal/31) if you have any questions or issues.

<br />

# Sibling pages

* [Structuring Scalr](https://docs.scalr.io/scalr/docs/structuring-scalr.md)
* [Remote Backend Options](https://docs.scalr.io/scalr/docs/remote-backends.md)
* [Environments](https://docs.scalr.io/scalr/docs/creating-environments.md)
* [Workspaces](https://docs.scalr.io/scalr/docs/workspaces.md)
* [Terraform & OpenTofu Runs](https://docs.scalr.io/scalr/docs/workspaces-runs.md)
* [Drift Detection](https://docs.scalr.io/scalr/docs/drift-detector.md)
* [State Management](https://docs.scalr.io/scalr/docs/state-management.md)
* [Variables](https://docs.scalr.io/scalr/docs/variables.md)
* [Provider Configurations](https://docs.scalr.io/scalr/docs/provider-configurations.md)
* [Integrations](https://docs.scalr.io/scalr/docs/integrations.md)
* [Identity and Access Management](https://docs.scalr.io/scalr/docs/identity-and-access-management.md)
* [Agents (Runs & VCS)](https://docs.scalr.io/scalr/docs/self-hosted-agents-pools.md)
* [Policy & Governance](https://docs.scalr.io/scalr/docs/policy-governance.md)
* [Registries](https://docs.scalr.io/scalr/docs/registries.md)
* [Observability](https://docs.scalr.io/scalr/docs/observability.md)
* [Security](https://docs.scalr.io/scalr/docs/security.md)
* [Tags](https://docs.scalr.io/scalr/docs/tags.md)
* [Control Tower](https://docs.scalr.io/scalr/docs/control-tower.md)
* [Migrating to Scalr](https://docs.scalr.io/scalr/docs/migrating-to-scalr.md)

# What’s Next

* [Structuring Scalr](https://docs.scalr.io/scalr/docs/structuring-scalr.md)