
Welcome to the Trigger.dev docs
Find all the resources and guides you need to get started

Quick start
Get started with Trigger.dev in 3 minutes

Examples
Explore dozens of examples tasks to use in your own projects

Frameworks
Learn how to use Trigger.dev with your favorite frameworks

Video walkthrough
Watch an end-to-end demo of Trigger.dev in 10 minutes
What is Trigger.dev?
Trigger.dev is an open source background jobs framework that lets you write reliable workflows in plain async code. Run long-running AI tasks, handle complex background jobs, and build AI agents with built-in queuing, automatic retries, and real-time monitoring. No timeouts, elastic scaling, and zero infrastructure management required.
We provide everything you need to build and manage background tasks: a CLI and SDK for writing tasks in your existing codebase, support for both regular and scheduled tasks, full observability through our dashboard, and a Realtime API with React hooks for showing task status in your frontend. You can use Trigger.dev Cloud or self-host on your own infrastructure.
Learn the concepts
Writing tasks
Tasks are the core of Trigger.dev. Learn what they are and how to write them.
Triggering tasks
Learn how to trigger tasks from your codebase.
Runs
Runs are the instances of tasks that are executed. Learn how they work.
API keys
API keys are used to authenticate requests to the Trigger.dev API. Learn how to create and use them.
Explore by feature
Scheduled tasks (cron)
Scheduled tasks are a type of task that is scheduled to run at a specific time.
Realtime API
The Realtime API allows you to trigger tasks and get the status of runs.
React hooks
React hooks are a way to show task status in your frontend.
Waits
Waits are a way to wait for a task to finish before continuing.
Errors and retries
Learn how to handle errors and retries.
Concurrency & Queues
Configure what you want to happen when there is more than one run at a time.
Explore by example

FFmpeg

Fal.ai

Puppeteer

LibreOffice

OpenAI

Browserbase

Sentry

Resend

Vercel AI SDK

Sharp

Deepgram

Supabase

DALL•E

Firecrawl
Getting help
We’d love to hear from you or give you a hand getting started. Here are some ways to get in touch with us.
Join our Discord server
Our Discord is the best place to get help with any questions about Trigger.dev.
Follow us on X (Twitter)
Follow us to get the latest updates and news.
Schedule a call
Arrange a call with one of the founders to get help with any questions.
Give us a star on GitHub
Check us out our GitHub repo and give us a star if you like what we’re doing.