Skip to content

Commit 07859b0

Browse files
committed
Updated quick start and building with ai intro page
1 parent 4a95db7 commit 07859b0

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

docs/building-with-ai.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We provide tools to help you build Trigger.dev projects with AI coding assistant
1515
```
1616
</Card>
1717
<Card title="Skills" icon="wand-magic-sparkles" href="/skills">
18-
Install pre-built prompts that teach AI assistants Trigger.dev best practices for writing tasks, configs, and more.
18+
Portable instruction sets that teach any AI coding assistant Trigger.dev best practices for writing tasks, configs, and more.
1919

2020
```bash
2121
npx skills add triggerdotdev/skills

docs/quick-start.mdx

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,14 @@ 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:
1211

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.
12+
1613

1714
<Steps titleSize="h3">
1815

1916
<Step title="Create a Trigger.dev account">
2017

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>
27-
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.
18+
Sign up at [Trigger.dev Cloud](https://cloud.trigger.dev) (or [self-host](/open-source-self-hosting)). The onboarding flow will guide you through creating your first organization and project.
3419

3520
</Step>
3621

@@ -43,11 +28,18 @@ Once you've created an account, follow the steps in the app to:
4328

4429
## Next steps
4530

46-
<CardGroup>
31+
<CardGroup cols={2}>
32+
<Card title="Building with AI" icon="brain" href="/building-with-ai">
33+
Learn how to build Trigger.dev projects using AI coding assistants
34+
</Card>
4735
<Card title="How to trigger your tasks" icon="bolt" href="/triggering">
4836
Learn how to trigger tasks from your code.
4937
</Card>
5038
<Card title="Writing tasks" icon="wand-magic-sparkles" href="/tasks/overview">
5139
Tasks are the core of Trigger.dev. Learn what they are and how to write them.
5240
</Card>
41+
<Card title="Guides and example projects" icon="books" href="/guides/introduction">
42+
Guides and examples for triggering tasks from your code.
43+
</Card>
44+
5345
</CardGroup>

docs/snippets/step-cli-init.mdx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,19 @@ yarn dlx trigger.dev@latest init
2020

2121
</CodeGroup>
2222

23+
2324
It will do a few things:
2425

25-
1. Log you into the CLI if you're not already logged in.
26-
2. Create a `trigger.config.ts` file in the root of your project.
27-
3. Ask where you'd like to create the `/trigger` directory.
28-
4. Create the `/trigger` directory with an example task, `/trigger/example.[ts/js]`.
26+
<Tip title="MCP Server">
27+
Our [Trigger.dev MCP server](/mcp-introduction) gives your AI assistant direct access to Trigger.dev tools; search docs, trigger tasks, deploy projects, and monitor runs. We recommend installing it for the best developer experience.
28+
</Tip>
29+
30+
1. Ask if you want to install the [Trigger.dev MCP server](/mcp-introduction) for your AI assistant.
31+
2. Log you into the CLI if you're not already logged in.
32+
3. Ask you to select your project.
33+
4. Install the required SDK packages.
34+
5. Ask where you'd like to create the `/trigger` directory and create it with an example task.
35+
6. Create a `trigger.config.ts` file in the root of your project.
2936

3037
Install the "Hello World" example task when prompted. We'll use this task to test the setup.
3138

0 commit comments

Comments
 (0)