Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@
"integrations/notte",
"integrations/vibium",
"integrations/stagehand",
"integrations/terraform",
"integrations/valtown",
{
"group": "Vercel",
Expand Down
1 change: 1 addition & 0 deletions integrations/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Kernel provides detailed guides for popular agent frameworks:
- **[Claude Agent SDK](/integrations/claude/claude-agent-sdk)** - Run Claude Agent SDK automations in cloud browsers
- **[Claude Managed Agents](/integrations/claude/claude-managed-agents)** - Run Anthropic's hosted agent harness against cloud browsers
- **[Stagehand](/integrations/stagehand)** - AI browser automation with natural language
- **[Terraform](/integrations/terraform)** - Manage durable Kernel infrastructure as code
- **[Computer Use (Anthropic)](/integrations/computer-use/anthropic)** - Claude's computer use capability
- **[Computer Use (OpenAI)](/integrations/computer-use/openai)** - OpenAI's computer use capability
- **[Computer Use (Gemini)](/integrations/computer-use/gemini)** - Gemini's computer use capability
Expand Down
39 changes: 39 additions & 0 deletions integrations/terraform.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: "Terraform"
description: "Manage durable Kernel infrastructure with Terraform"
---

Use the official Kernel Terraform provider to manage durable infrastructure such as projects and browser pools.

## Install the provider

Add `kernel/kernel` to your Terraform configuration:

```hcl
terraform {
required_providers {
kernel = {
source = "kernel/kernel"
}
}
}

provider "kernel" {}
```

Set `KERNEL_API_KEY` and, when needed, `KERNEL_PROJECT_ID` in the environment where Terraform runs. You can then manage Kernel projects and browser pools, read existing projects, profiles, proxies, and extensions, and import existing projects or browser pools by ID.

<Note>
The provider manages durable desired configuration. Use the Kernel SDKs or API for runtime browser operations such as creating sessions, acquiring browsers, releasing browsers, and viewing logs.
</Note>

## Provider documentation

<CardGroup cols={2}>
<Card title="Terraform Registry" icon="cube" href="https://registry.terraform.io/providers/kernel/kernel/latest">
Browse installation instructions and the generated resource and data source reference.
</Card>
<Card title="GitHub" icon="github" href="https://github.com/kernel/terraform-provider-kernel">
View examples, release notes, source code, and contribution guidance.
</Card>
</CardGroup>
Loading