How to create the folders and basic files for an integration package.
@trigger.dev
NPM organization, or in a separate repository you control and published independently.
@trigger.dev/cli create-integration
command you can pass in an OpenAI API key to generate the initial code for your Integration. Use the -o
option to do this.
integrations/
namespace. For example, if you were creating an Integration for Stripe, you would create a branch named integrations/stripe
.
integrations
directory:
What is the name of your Integration package?
- This is the name of the NPM package that will be created. It should be prefixed with @trigger.dev/integration-
and be all lowercase. For example, if you were creating an Integration for Stripe, you would enter @trigger.dev/stripe
.What is the name of the npm package of the Integration?
- This is the name of the NPM package that the Integration will be wrapping. For example, if you were creating an Integration for Stripe, you would enter stripe
.@trigger.dev/cli
to create the Integration package in your repository or to start a new one: