You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/quickstart.md
+61-36Lines changed: 61 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
# Get Started
2
2
3
-
**Keywords:** install, setup, get started, quickstart, templates, workspaces, tasks, users
3
+
**Keywords:** install, setup, get started, quickstart, templates, workspaces,
4
+
tasks, users
4
5
5
-
Follow the steps in this guide to get your first Coder development environment running in under 10 minutes. This guide covers the essential concepts and walks you through creating your first workspace and running VS Code from it. You can also get Claude Code up and running in the background!
6
+
Follow the steps in this guide to get your first Coder development environment
7
+
running in under 10 minutes. This guide covers the essential concepts and walks
8
+
you through creating your first workspace and running VS Code from it. You can
9
+
also get Claude Code up and running in the background!
6
10
7
11
## What You'll Build
8
12
@@ -16,17 +20,21 @@ In this quickstart, you'll:
16
20
17
21
## Understanding Coder: 30-Second Overview
18
22
19
-
Before diving in, here are the four concepts that power Coder explained through a cooking analogy:
23
+
Before diving in, here are the four concepts that power Coder explained through
24
+
a cooking analogy:
20
25
21
-
| Component | What It Is | Real-World Analogy |
22
-
|-----------|------------|-------------------|
23
-
|**You**| The engineer/developer/builder working | The head chef cooking the meal |
24
-
|**Templates**| A Terraform blueprint that defines your dev environment (OS, tools, resources) | Recipe for a meal |
25
-
|**Workspaces**| The actual running environment created from the template | The cooked meal |
26
-
|**Tasks**| AI-powered coding agents that run inside a workspace | Your sous chef helping you cook the meal |
27
-
|**Users**| A developer who launches the workspace from a template and does their work inside it | The people eating the meal |
|**You**| The engineer/developer/builder working | The head chef cooking the meal|
29
+
|**Templates**| A Terraform blueprint that defines your dev environment (OS, tools, resources) | Recipe for a meal|
30
+
|**Workspaces**| The actual running environment created from the template | The cooked meal|
31
+
|**Tasks**| AI-powered coding agents that run inside a workspace| Your sous chef helping you cook the meal |
32
+
|**Users**| A developer who launches the workspace from a template and does their work inside it | The people eating the meal|
28
33
29
-
**First time here?** Coder separates how an environment is defined (Admin’s job) from where you do your day-to-day coding (Developer’s job). As a developer, you’ll use templates to launch workspaces, and as an admin, you’ll create and manage those templates for others.
34
+
**First time here?** Coder separates how an environment is defined (Admin’s job)
35
+
from where you do your day-to-day coding (Developer’s job). As a developer,
36
+
you’ll use templates to launch workspaces, and as an admin, you’ll create and
37
+
manage those templates for others.
30
38
31
39
## Prerequisites
32
40
@@ -46,7 +54,6 @@ Before diving in, here are the four concepts that power Coder explained through
You can also choose to **Continue with GitHub** instead of creating an admin account. The first user that signs in is automatically granted admin permissions.
150
+
You can also choose to **Continue with GitHub** instead of creating an admin
151
+
account. The first user that signs in is automatically granted admin
152
+
permissions.
144
153
145
154

146
155
@@ -152,11 +161,11 @@ Templates define what's in your development environment. Let's start simple:
|**Docker Containers** (Recommended) | Getting started quickly, local development, prototyping | Ubuntu container with common dev tools, Docker runtime |
|**AWS EC2 (Linux)**| Teams needing full VMs, AWS-native infrastructure | Full EC2 instances with AWS integration|
160
169
161
170
3. Click **"Use template"** on **Docker Containers**
162
171
@@ -169,7 +178,10 @@ Templates define what's in your development environment. Let's start simple:
169
178
170
179
1. Click **"Save"**
171
180
172
-
**What just happened?** You defined a template — a reusable blueprint for dev environments — in your Coder deployment. It's now stored in your organization's template list, where you and any teammates in the same org can create workspaces from it. Let's launch one.
181
+
**What just happened?** You defined a template — a reusable blueprint for dev
182
+
environments — in your Coder deployment. It's now stored in your organization's
183
+
template list, where you and any teammates in the same org can create workspaces
184
+
from it. Let's launch one.
173
185
174
186
## Step 5: Launch your Workspace
175
187
@@ -184,7 +196,8 @@ Templates define what's in your development environment. Let's start simple:
184
196
185
197
## Step 6: Connect your IDE
186
198
187
-
Select **VS Code Desktop** to install the Coder extension and connect to your Coder workspace.
199
+
Select **VS Code Desktop** to install the Coder extension and connect to your
200
+
Coder workspace.
188
201
189
202
After VS Code loads the remote environment, you can select **Open Folder** to
190
203
explore directories in the Docker container or work on something new.
@@ -219,7 +232,8 @@ You now have:
219
232
220
233
### What's Next?
221
234
222
-
Now that you have your own workspace running, you can start exploring more advanced capabilities that Coder offers.
235
+
Now that you have your own workspace running, you can start exploring more
236
+
advanced capabilities that Coder offers.
223
237
224
238
-[Learn more about running Coder Tasks and our recommended Best Practices](https://coder.com/docs/ai-coder/best-practices)
225
239
@@ -229,13 +243,19 @@ Now that you have your own workspace running, you can start exploring more advan
229
243
230
244
### Get Coder Tasks Running
231
245
232
-
Coder Tasks is an interface that allows you to run and manage coding agents like Claude Code. Tasks become available when a template has the `coder_ai_task` resource and `coder_parameter` named `AI Prompt` defined in its source code. Subsequently, any existing template can become a Task template by adding in that resource and parameter.
246
+
Coder Tasks is an interface that allows you to run and manage coding agents like
247
+
Claude Code. Tasks become available when a template has the `coder_ai_task`
248
+
resource and `coder_parameter` named `AI Prompt` defined in its source code.
249
+
Subsequently, any existing template can become a Task template by adding in that
250
+
resource and parameter.
233
251
234
-
Let's try turning the **Docker Containers** template into a Task template running Claude Code:
252
+
Let's try turning the **Docker Containers** template into a Task template
253
+
running Claude Code:
235
254
236
255
1. Head to **Templates**
237
256
1. Click into the template, and then click **Source Code** -> **Edit**
238
-
1. Add the following code snippit to the bottom of the terraform. This defines the `coder_ai_task` resource and `coder_parameter`
257
+
1. Add the following code snippit to the bottom of the terraform. This defines
258
+
the `coder_ai_task` resource and `coder_parameter`
239
259
240
260
```hcl
241
261
# Claude API Key variable (filled in during template build)
1.**Build the Template**: Click "Build version". This will process your template updates. After it finishes building successfully:
279
-
1.**Activate the Template**: Click "Promote Version" on the new version to make it the active template version.
298
+
1.**Build the Template**: Click "Build version". This will process your
299
+
template updates. After it finishes building successfully:
300
+
1.**Activate the Template**: Click "Promote Version" on the new version to make
301
+
it the active template version.
280
302
1.**Create a Task**: Click "Create Task".
281
-
1. Once your workspace is running, navigate to the **Tasks** tab in the upper left hand corner. Type in a message or coding request like "Help me write a HelloWorld application in Python". Click **Run Task** to start the task
282
-
1. The task will open VS Code with Claude Code running in the left sidebar. You are now successfully using Coder Tasks with Claude Code!
303
+
1. Once your workspace is running, navigate to the **Tasks** tab in the upper
304
+
left hand corner. Type in a message or coding request like "Help me write a
305
+
HelloWorld application in Python". Click **Run Task** to start the task
306
+
1. The task will open VS Code with Claude Code running in the left sidebar. You
307
+
are now successfully using Coder Tasks with Claude Code!
0 commit comments