# SvelteKit setup guide

> Source: https://trigger.dev/docs/guides/community/sveltekit

This is a community developed Vite plugin from [@cptCrunch\_](https://x.com/cptCrunch_)
 that enables seamless integration between SvelteKit and Trigger.dev by allowing you to use your SvelteKit functions directly in your Trigger.dev projects.

[​](https://trigger.dev/docs/guides/community/sveltekit#features)

Features
-----------------------------------------------------------------------------

*   Use SvelteKit functions directly in Trigger.dev tasks
*   Automatic function discovery and export
*   TypeScript support with type preservation
*   Works with Trigger.dev V3
*   Configurable directory scanning

[​](https://trigger.dev/docs/guides/community/sveltekit#prerequisites)

Prerequisites
---------------------------------------------------------------------------------------

*   Setup a project in
*   Ensure TypeScript is installed
*   [Create a Trigger.dev account](https://cloud.trigger.dev/)
    
*   Create a new Trigger.dev project

[​](https://trigger.dev/docs/guides/community/sveltekit#setup)

Setup
-----------------------------------------------------------------------

[View setup guide on npm](https://www.npmjs.com/package/triggerkit)

    npm i triggerkit
    

Was this page helpful?

YesNo

[Previous](https://trigger.dev/docs/guides/frameworks/remix)
[OverviewReal world AI agent example tasks using Trigger.dev\
\
Next](https://trigger.dev/docs/guides/ai-agents/overview)

⌘I

Assistant

Responses are generated using AI and may contain mistakes.
