This repository contains a sample implementation of a Custom Integration Provider to use with agnoStack.
- Node.js (v18.20.0 or higher)
- Yarn (or similar package manager)
- nvm (optional)
nvm installnpm install yarn -gyarn installUse the generate-keypair.js script to create a new keypair for your local environment.
Populate .env with the value for PUBLIC_KEY as PRIVATE_KEY from the generated output.
NOTE: You will also need the generated PUBLIC_KEY value to enter into agnoStack in the Custom Integration Provider settings into the "Public Key" field.
Populate .env with the value for SHARED_SECRET from agnoStack (available in the Custom Integration Provider settings into the "Shared Secret" field).
yarn watchNOTE: this will run your local project via serverless offline AND also generate an ngrok URL that you can then enter into agnoStack in the Custom Integration Provider settings in the "API Path" field.
yarn deploy