Skip to content

Commit 6768143

Browse files
committed
Updated quick start
1 parent 6f26acb commit 6768143

File tree

2 files changed

+35
-32
lines changed

2 files changed

+35
-32
lines changed

docs/quick-start.mdx

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
11
---
22
title: "Quick start"
3-
description: "How to get started in 3 minutes using the CLI and SDK."
3+
description: "How to quickly get started using an AI coding assistant or the CLI and SDK."
44
---
55

66
import CliInitStep from '/snippets/step-cli-init.mdx';
77
import CliDevStep from '/snippets/step-cli-dev.mdx';
88
import CliRunTestStep from '/snippets/step-run-test.mdx';
99
import CliViewRunStep from '/snippets/step-view-run.mdx';
1010

11-
In this guide we will:
11+
<Accordion title="Using an AI coding assistant? Copy this prompt to set up Trigger.dev" icon="sparkles">
1212

13-
1. Create a `trigger.config.ts` file and a `/trigger` directory with an example task.
14-
2. Get you to run the task using the CLI.
15-
3. Show you how to view the run logs for that task.
13+
```txt
14+
Add Trigger.dev to my project.
1615
17-
<Steps titleSize="h3">
18-
19-
<Step title="Create a Trigger.dev account">
20-
21-
You can either:
22-
23-
- Use the [Trigger.dev Cloud](https://cloud.trigger.dev).
24-
- Or [self-host](/open-source-self-hosting) the service.
25-
26-
</Step>
16+
- Before each step, briefly explain what it does
17+
- Keep me on track until I've successfully triggered my first task
18+
- Show me the results when we're done
19+
```
2720

28-
<Step title="Create your first project">
29-
30-
Once you've created an account, follow the steps in the app to:
31-
32-
1. Complete your account details.
33-
2. Create your first Organization and Project.
34-
35-
</Step>
36-
37-
<CliInitStep />
38-
<CliDevStep />
39-
<CliRunTestStep />
40-
<CliViewRunStep />
21+
</Accordion>
4122

23+
<Steps titleSize="h3">
24+
<Step title="Create a Trigger.dev account">
25+
You can either:
26+
- Use the [Trigger.dev Cloud](https://cloud.trigger.dev).
27+
- Or [self-host](/open-source-self-hosting) the service.
28+
</Step>
29+
30+
<Step title="Create your first project">
31+
Once you've created an account, follow the steps in the app to:
32+
1. Complete your account details.
33+
2. Create your first Organization and Project.
34+
</Step>
35+
36+
<CliInitStep />
37+
<CliDevStep />
38+
<CliRunTestStep />
39+
<CliViewRunStep />
4240
</Steps>
4341

4442
## Next steps

docs/snippets/step-cli-init.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<Step title="Run the CLI `init` command">
22

3-
The easiest way to get started is to use the CLI. It will add Trigger.dev to your existing project, create a `/trigger` folder and give you an example task.
4-
5-
Run this command in the root of your project to get started:
3+
Run this command in the root of your project:
64

75
<CodeGroup>
86

@@ -20,7 +18,14 @@ yarn dlx trigger.dev@latest init
2018

2119
</CodeGroup>
2220

23-
It will do a few things:
21+
You'll be asked to choose how to initialize:
22+
23+
- **Trigger.dev MCP** Installs our [MCP server](/mcp-overview) into your AI coding tools (Claude Code, Cursor, etc.), then lets your AI assistant set up the project for you.
24+
- **CLI** — Continue with the traditional CLI setup.
25+
26+
<Note> The Trigger.dev [MCP](/mcp-overview) lets AI assistants search our up-to-date docs, create and manage projects, trigger and deploy tasks, and monitor runs across environments. If you use AI coding assistants this will give you the best developer experience.</Note>
27+
28+
If you choose CLI, it will:
2429

2530
1. Log you into the CLI if you're not already logged in.
2631
2. Create a `trigger.config.ts` file in the root of your project.

0 commit comments

Comments
 (0)