|
1 | 1 | --- |
2 | 2 | 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." |
4 | 4 | --- |
5 | 5 |
|
6 | 6 | import CliInitStep from '/snippets/step-cli-init.mdx'; |
7 | 7 | import CliDevStep from '/snippets/step-cli-dev.mdx'; |
8 | 8 | import CliRunTestStep from '/snippets/step-run-test.mdx'; |
9 | 9 | import CliViewRunStep from '/snippets/step-view-run.mdx'; |
10 | 10 |
|
11 | | -In this guide we will: |
| 11 | +<Accordion title="Using an AI coding assistant? Copy this prompt to set up Trigger.dev" icon="sparkles"> |
12 | 12 |
|
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. |
16 | 15 |
|
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 | +``` |
27 | 20 |
|
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> |
41 | 22 |
|
| 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 /> |
42 | 40 | </Steps> |
43 | 41 |
|
44 | 42 | ## Next steps |
|
0 commit comments